Rename .env to secret.env
This commit is contained in:
parent
c7a07d5b83
commit
e83a7f2aa4
3
server/.gitignore
vendored
3
server/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
.venv
|
.venv
|
||||||
.env
|
secret.env
|
||||||
|
tiles
|
||||||
**/__pycache__
|
**/__pycache__
|
@ -7,7 +7,7 @@ from starlette.middleware.sessions import SessionMiddleware
|
|||||||
from starlette.responses import HTMLResponse, RedirectResponse
|
from starlette.responses import HTMLResponse, RedirectResponse
|
||||||
from authlib.integrations.starlette_client import OAuth, OAuthError
|
from authlib.integrations.starlette_client import OAuth, OAuthError
|
||||||
|
|
||||||
config = Config(".env")
|
config = Config("secret.env")
|
||||||
|
|
||||||
oauth = OAuth(config)
|
oauth = OAuth(config)
|
||||||
oauth.register(
|
oauth.register(
|
||||||
|
Loading…
Reference in New Issue
Block a user