mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2025-12-14 08:06:23 +08:00
- Fix a small bug that `best30` of API cannot have scores whose songs are not in database - At present the setting file can be a module or a file with some of options - Limiter can have multiple rules together now
18 lines
583 B
Python
18 lines
583 B
Python
from core.config_manager import Config
|
|
from flask import Blueprint
|
|
|
|
from . import (auth, course, friend, multiplayer, others, present, purchase,
|
|
score, user, world)
|
|
|
|
bp = Blueprint('server', __name__, url_prefix=Config.GAME_API_PREFIX)
|
|
bp.register_blueprint(user.bp)
|
|
bp.register_blueprint(auth.bp)
|
|
bp.register_blueprint(friend.bp)
|
|
bp.register_blueprint(score.bp)
|
|
bp.register_blueprint(world.bp)
|
|
bp.register_blueprint(purchase.bp)
|
|
bp.register_blueprint(present.bp)
|
|
bp.register_blueprint(others.bp)
|
|
bp.register_blueprint(multiplayer.bp)
|
|
bp.register_blueprint(course.bp)
|