fix oauth
This commit is contained in:
@@ -3,7 +3,8 @@ from os import environ
|
||||
|
||||
PORT = 8080
|
||||
|
||||
BACKEND_URL = "https://localhost:8080"
|
||||
BACKEND_URL = environ.get("BACKEND_URL") or "https://localhost:8080"
|
||||
OAUTH_CALLBACK_URL = environ.get("OAUTH_CALLBACK_URL") or "https://localhost:8080/authorized"
|
||||
|
||||
DB_URL = environ.get("DATABASE_URL") or environ.get("DB_URL") or "sqlite:///db.sqlite3"
|
||||
JWT_ALGORITHM = "HS256"
|
||||
|
Reference in New Issue
Block a user