mirror of
https://github.com/Radiquum/YAMPD.git
synced 2025-05-20 23:59:35 +05:00
refactor: api routes
This commit is contained in:
parent
c74170a14d
commit
802b755d29
6 changed files with 95 additions and 55 deletions
|
@ -1,5 +1,7 @@
|
|||
from flask import Blueprint
|
||||
|
||||
api = Blueprint("api", __name__, url_prefix="/api/pack")
|
||||
apiPack = Blueprint("pack", __name__, url_prefix="/api/pack")
|
||||
apiPacks = Blueprint("packs", __name__, url_prefix="/api/packs")
|
||||
|
||||
from . import pack
|
||||
from . import packs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue