Your Name преди 4 години
родител
ревизия
ee410b2828
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      apis/testoauth.py

+ 1 - 1
apis/testoauth.py

@@ -17,7 +17,7 @@ config = Config('.env')
 
 #Config('.env')
 oauth = OAuth(config)
-app.mount("/", StaticFiles(directory="static"), name="static")
+app.mount("/static", StaticFiles(directory="static"), name="static")
 
 CONF_URL = 'https://accounts.google.com/.well-known/openid-configuration'
 oauth.register(