Update app.py
Browse files
app.py
CHANGED
|
@@ -212,22 +212,6 @@ def cleanup_trash(background_tasks: BackgroundTasks):
|
|
| 212 |
|
| 213 |
###################################################################################################################################
|
| 214 |
############################################ Show and Cache the Pricing Data (Proxy) ##############################################
|
| 215 |
-
@app.get("/showme")
|
| 216 |
-
def debug_secrets():
|
| 217 |
-
return {
|
| 218 |
-
"SSH_USER": os.getenv("SSH_USER"),
|
| 219 |
-
"SSH_KEY": os.getenv("SSH_KEY"),
|
| 220 |
-
"JLAB_KEY_ZCRON": os.getenv("JLAB_KEY_ZCRON"),
|
| 221 |
-
"TOKEN_ZCRON": os.getenv("TOKEN_ZCRON"),
|
| 222 |
-
"JLAB_KEY_ZSRS": os.getenv("JLAB_KEY_ZSRS"),
|
| 223 |
-
"NOVA_PASSWD": os.getenv("NOVA_PASSWD"),
|
| 224 |
-
"NOVA_CLIENT_ID": os.getenv("NOVA_CLIENT_ID"),
|
| 225 |
-
"NOVA_DATACRUNCH_URL": os.getenv("NOVA_DATACRUNCH_URL"),
|
| 226 |
-
"NOVA_CLIENT_SECRET": os.getenv("NOVA_CLIENT_SECRET"),
|
| 227 |
-
"PROXY_TOKEN": os.getenv("PROXY_TOKEN"),
|
| 228 |
-
"PROXY_URL": os.getenv("PROXY_URL"),
|
| 229 |
-
"ORION_PASS_KEY": os.getenv("ORION_PASS_KEY")
|
| 230 |
-
}
|
| 231 |
# Initialize the rate limiter, We'll use the client's IP address as the key
|
| 232 |
limiter = Limiter(key_func=get_remote_address)
|
| 233 |
|
|
|
|
| 212 |
|
| 213 |
###################################################################################################################################
|
| 214 |
############################################ Show and Cache the Pricing Data (Proxy) ##############################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
# Initialize the rate limiter, We'll use the client's IP address as the key
|
| 216 |
limiter = Limiter(key_func=get_remote_address)
|
| 217 |
|