Skip to content

Commit

Permalink
fix: handle edgecase in redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedAhkam committed Sep 21, 2023
1 parent f4d46a2 commit b850f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/authentication/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ def github_login(request):

if settings.DEMO_INSTANCE:
REPLACEMENT_DOMAIN = settings.API_DOMAIN

REPLACEMENT_DOMAIN += "/api"
else:
REPLACEMENT_DOMAIN += "/api"

current_domain = request.get_host()

Expand Down

0 comments on commit b850f45

Please sign in to comment.