Deleted server/api_keys.py server/config.py and replaced with ENV VARS
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# api_keys.py
|
||||
|
||||
api_keys = {
|
||||
"your_api_key": "user1",
|
||||
"another_api_key": "user2",
|
||||
# Add more API keys as needed
|
||||
}
|
||||
@@ -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")
|
||||
Reference in New Issue
Block a user