Rename .env to secret.env

This commit is contained in:
Kai Vogelgesang 2022-09-04 14:58:54 +02:00
parent c7a07d5b83
commit e83a7f2aa4
Signed by: kai
GPG Key ID: 0A95D3B6E62C0879
3 changed files with 3 additions and 2 deletions

3
server/.gitignore vendored
View File

@ -1,3 +1,4 @@
.venv .venv
.env secret.env
tiles
**/__pycache__ **/__pycache__

View File

@ -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(