mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-09 09:17:26 +08:00
[Bug fix][Enhance] Songlist parser & Bunder version error message
- For Arcaea 5.5.8 (no test) - New character "Ai-chan" - Add a small tool to send error message - A `songlist` parser problem #156 - Fix that header checker of bundle version gives incorrect error messages.
This commit is contained in:
19
tools/server_maintenance.py
Normal file
19
tools/server_maintenance.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from flask import Flask, jsonify
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
HOST = '0.0.0.0'
|
||||
PORT = '80'
|
||||
|
||||
@app.route('/favicon.ico', methods=['GET'])
|
||||
def favicon():
|
||||
return ''
|
||||
|
||||
@app.route('/<path:p>')
|
||||
def hello(p):
|
||||
r = {"success": False, "error_code": 2}
|
||||
return jsonify(r)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host=HOST, port=PORT)
|
||||
Reference in New Issue
Block a user