Force url prefixes for games to match their game constant values.
This commit is contained in:
parent
73f340947b
commit
6d7bf082e6
@ -15,7 +15,7 @@ from bemani.frontend.types import g
|
|||||||
bishi_pages = Blueprint(
|
bishi_pages = Blueprint(
|
||||||
'bishi_pages',
|
'bishi_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/bishi',
|
url_prefix=f'/{GameConstants.BISHI_BASHI.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ from bemani.frontend.types import g
|
|||||||
ddr_pages = Blueprint(
|
ddr_pages = Blueprint(
|
||||||
'ddr_pages',
|
'ddr_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/ddr',
|
url_prefix=f'/{GameConstants.DDR.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -14,7 +14,7 @@ from bemani.frontend.types import g
|
|||||||
iidx_pages = Blueprint(
|
iidx_pages = Blueprint(
|
||||||
'iidx_pages',
|
'iidx_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/iidx',
|
url_prefix=f'/{GameConstants.IIDX.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -14,7 +14,7 @@ from bemani.frontend.types import g
|
|||||||
jubeat_pages = Blueprint(
|
jubeat_pages = Blueprint(
|
||||||
'jubeat_pages',
|
'jubeat_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/jubeat',
|
url_prefix=f'/{GameConstants.JUBEAT.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ from bemani.frontend.types import g
|
|||||||
museca_pages = Blueprint(
|
museca_pages = Blueprint(
|
||||||
'museca_pages',
|
'museca_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/museca',
|
url_prefix=f'/{GameConstants.MUSECA.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ from bemani.frontend.types import g
|
|||||||
popn_pages = Blueprint(
|
popn_pages = Blueprint(
|
||||||
'popn_pages',
|
'popn_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/popn',
|
url_prefix=f'/{GameConstants.POPN_MUSIC.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ from bemani.frontend.types import g
|
|||||||
reflec_pages = Blueprint(
|
reflec_pages = Blueprint(
|
||||||
'reflec_pages',
|
'reflec_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/reflec',
|
url_prefix=f'/{GameConstants.REFLEC_BEAT.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ from bemani.frontend.types import g
|
|||||||
sdvx_pages = Blueprint(
|
sdvx_pages = Blueprint(
|
||||||
'sdvx_pages',
|
'sdvx_pages',
|
||||||
__name__,
|
__name__,
|
||||||
url_prefix='/sdvx',
|
url_prefix=f'/{GameConstants.SDVX.value}',
|
||||||
template_folder=templates_location,
|
template_folder=templates_location,
|
||||||
static_folder=static_location,
|
static_folder=static_location,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user