Skip to content

Commit

Permalink
fix: maybe fix oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedAhkam committed Sep 21, 2023
1 parent 4e56536 commit f4d46a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/authentication/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def github_login(request):
if settings.DEMO_INSTANCE:
REPLACEMENT_DOMAIN = settings.API_DOMAIN

# REPLACEMENT_DOMAIN += "/api
REPLACEMENT_DOMAIN += "/api"

current_domain = request.get_host()

Expand Down
5 changes: 2 additions & 3 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,10 @@

API_URL = f"http://{API_DOMAIN}/"

FRONTEND_URL_MAIN = "https://thirdeyelabs.xyz/"
FRONTEND_URL_IPFS = "https://ipfs.thirdeyelabs.xyz/"
FRONTEND_URL_MAIN = "https://demo.thirdeyelabs.xyz/"

FRONTEND_URL = (
FRONTEND_URL_IPFS
FRONTEND_URL_MAIN
if DEMO_INSTANCE
else os.environ.get("FRONTEND_URL", "http://localhost:3000/")
)
Expand Down

0 comments on commit f4d46a2

Please sign in to comment.