Spaces:
Runtime error
Runtime error
steamedsoup
commited on
Commit
β’
7e26ac4
1
Parent(s):
d3877f9
Update server.py
Browse files
server.py
CHANGED
@@ -430,10 +430,10 @@ def before_request():
|
|
430 |
print(f"WARNING: Unauthorized API key access from {request.remote_addr}")
|
431 |
response = jsonify({ 'error': '401: Invalid API key' })
|
432 |
response.status_code = 401
|
433 |
-
return "
|
434 |
except Exception as e:
|
435 |
print(f"API key check error: {e}")
|
436 |
-
return "
|
437 |
|
438 |
|
439 |
@app.after_request
|
|
|
430 |
print(f"WARNING: Unauthorized API key access from {request.remote_addr}")
|
431 |
response = jsonify({ 'error': '401: Invalid API key' })
|
432 |
response.status_code = 401
|
433 |
+
return "so"
|
434 |
except Exception as e:
|
435 |
print(f"API key check error: {e}")
|
436 |
+
return "so"
|
437 |
|
438 |
|
439 |
@app.after_request
|