mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 10:27:27 +08:00
Code refactoring
- Code refactoring mainly for API - Delete a useless option in `setting.py` - Change some constants in Link Play mode
This commit is contained in:
@@ -7,7 +7,7 @@ from multiprocessing import Process, set_start_method
|
||||
|
||||
from flask import Flask, request, send_from_directory
|
||||
|
||||
import api.api_main
|
||||
import api
|
||||
import server
|
||||
import server.init
|
||||
import web.index
|
||||
@@ -28,7 +28,7 @@ app.config.from_mapping(SECRET_KEY=Config.SECRET_KEY)
|
||||
app.config['SESSION_TYPE'] = 'filesystem'
|
||||
app.register_blueprint(web.login.bp)
|
||||
app.register_blueprint(web.index.bp)
|
||||
app.register_blueprint(api.api_main.bp)
|
||||
app.register_blueprint(api.bp)
|
||||
app.register_blueprint(server.bp)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user