Deleted server/api_keys.py server/config.py and replaced with ENV VARS

This commit is contained in:
2023-09-21 11:13:52 +03:30
parent f7ca80f146
commit 4c33dff400
2 changed files with 0 additions and 12 deletions

View File

@@ -1,7 +0,0 @@
# api_keys.py
api_keys = {
"your_api_key": "user1",
"another_api_key": "user2",
# Add more API keys as needed
}

View File

@@ -1,5 +0,0 @@
import os
class Config:
# Use the environment variable for the database URI
SQLALCHEMY_DATABASE_URI = os.environ.get("SQLALCHEMY_DATABASE_URI")