1
0
mirror of synced 2025-01-31 04:03:45 +01:00

Force url prefixes for games to match their game constant values.

This commit is contained in:
Jennifer Taylor 2021-09-06 02:01:57 +00:00
parent 73f340947b
commit 6d7bf082e6
8 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
bishi_pages = Blueprint(
'bishi_pages',
__name__,
url_prefix='/bishi',
url_prefix=f'/{GameConstants.BISHI_BASHI.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
ddr_pages = Blueprint(
'ddr_pages',
__name__,
url_prefix='/ddr',
url_prefix=f'/{GameConstants.DDR.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -14,7 +14,7 @@ from bemani.frontend.types import g
iidx_pages = Blueprint(
'iidx_pages',
__name__,
url_prefix='/iidx',
url_prefix=f'/{GameConstants.IIDX.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -14,7 +14,7 @@ from bemani.frontend.types import g
jubeat_pages = Blueprint(
'jubeat_pages',
__name__,
url_prefix='/jubeat',
url_prefix=f'/{GameConstants.JUBEAT.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
museca_pages = Blueprint(
'museca_pages',
__name__,
url_prefix='/museca',
url_prefix=f'/{GameConstants.MUSECA.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
popn_pages = Blueprint(
'popn_pages',
__name__,
url_prefix='/popn',
url_prefix=f'/{GameConstants.POPN_MUSIC.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
reflec_pages = Blueprint(
'reflec_pages',
__name__,
url_prefix='/reflec',
url_prefix=f'/{GameConstants.REFLEC_BEAT.value}',
template_folder=templates_location,
static_folder=static_location,
)

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
sdvx_pages = Blueprint(
'sdvx_pages',
__name__,
url_prefix='/sdvx',
url_prefix=f'/{GameConstants.SDVX.value}',
template_folder=templates_location,
static_folder=static_location,
)