REMOVE old hard coded API token
This commit is contained in:
parent
86d66717c1
commit
5454480fe0
1 changed files with 3 additions and 3 deletions
4
main.py
4
main.py
|
@ -27,11 +27,11 @@ INPUT_DIR.mkdir(exist_ok=True) # Create directory if it doesn't exist
|
||||||
|
|
||||||
# Load API keys from environment variables (with fallback for backward compatibility)
|
# Load API keys from environment variables (with fallback for backward compatibility)
|
||||||
INPUT_API_KEYS = [
|
INPUT_API_KEYS = [
|
||||||
key.strip() for key in os.getenv("INPUT_API_KEYS", "input_token_123").split(",")
|
key.strip() for key in os.getenv("INPUT_API_KEYS").split(",")
|
||||||
if key.strip()
|
if key.strip()
|
||||||
]
|
]
|
||||||
READ_API_KEYS = [
|
READ_API_KEYS = [
|
||||||
key.strip() for key in os.getenv("READ_API_KEYS", "read_token_456").split(",")
|
key.strip() for key in os.getenv("READ_API_KEYS").split(",")
|
||||||
if key.strip()
|
if key.strip()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue