Skip to content

Commit

Permalink
Merge pull request #24 from Lukas-Heiligenbrunner/master
Browse files Browse the repository at this point in the history
add keep_base_url=True to support different response domain
  • Loading branch information
h44z authored Jul 4, 2024
2 parents 6d0ba26 + c8af33d commit 39394a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main():
print()

# private token or personal token authentication
gl = gitlab.Gitlab(GITLAB_URL, private_token=GITLAB_TOKEN)
gl = gitlab.Gitlab(GITLAB_URL, private_token=GITLAB_TOKEN, keep_base_url=True)
gl.auth()
assert(isinstance(gl.user, gitlab.v4.objects.CurrentUser))
print_info("Connected to Gitlab, version: " + str(gl.version()))
Expand Down

0 comments on commit 39394a0

Please sign in to comment.