mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-10 18:07:28 +08:00
[Enhance] Cloud save update scores & capture auth error
- Restore the feature that cloud save can be used to cover best scores - Capture error that the request does not have `Authorization` in header
This commit is contained in:
@@ -105,6 +105,12 @@ if Config.DEPLOY_MODE == 'waitress':
|
||||
f'{request.remote_addr} - - {request.method} {request.path} {response.status_code}')
|
||||
return response
|
||||
|
||||
# @app.before_request
|
||||
# def before_request():
|
||||
# print(request.path)
|
||||
# print(request.headers)
|
||||
# print(request.data)
|
||||
|
||||
|
||||
def tcp_server_run():
|
||||
if Config.DEPLOY_MODE == 'gevent':
|
||||
|
||||
Reference in New Issue
Block a user