[Enhance] Game new/old API prefix list support

- Add some endpoints for old API prefixes to notify users to update the client; add support for multiple game prefixes
This commit is contained in:
Lost-MSth
2024-02-24 16:39:15 +08:00
parent 50369d1f23
commit b3bf55407f
4 changed files with 37 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ app.config['SESSION_TYPE'] = 'filesystem'
app.register_blueprint(web.login.bp)
app.register_blueprint(web.index.bp)
app.register_blueprint(api.bp)
app.register_blueprint(server.bp)
list(map(app.register_blueprint, server.get_bps()))
# app.register_blueprint(webapi.bp)