From 45a7c91fbef2e9c2c0c6821edb06bae75077b50c Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 24 Apr 2024 20:50:26 +0200 Subject: Add self-signed certificates --- app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app.py') diff --git a/app.py b/app.py index 7621b28..a731604 100644 --- a/app.py +++ b/app.py @@ -6,8 +6,7 @@ import secrets CLIENT_ID = "x" # DOTENV ligger paa discorden, repoet er publkic saa det CLIENT_SECRET = "x" # DOTENV PAHAHAH -REDIRECT_URI = "http://localhost:8080/callback" -# REDIRECT_URI = "https://google.com" +REDIRECT_URI = "https://localhost:8080/callback" AUTH_BASE_URL = 'https://oauth.battle.net/authorize' TOKEN_URL = "https://oauth.battle.net/token" @@ -45,4 +44,5 @@ def server_static(type, filename): return static_file(filename, root=f"./static/{type}/") debug(True) -run(app, host='localhost', port=8080, reloader=True) \ No newline at end of file +run(app, host='localhost', port=8080, reloader=True, + server="gunicorn", keyfile="./pki/server.key", certfile="./pki/server.crt") -- cgit v1.2.3