mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ 使用新模板
This commit is contained in:
@@ -52,8 +52,8 @@ class HostPage:
|
||||
@driver.on_startup
|
||||
def _():
|
||||
app.mount(
|
||||
'/host/assets',
|
||||
StaticFiles(directory=TEMPLATES_DIR / 'assets'),
|
||||
'/host/_nuxt',
|
||||
StaticFiles(directory=TEMPLATES_DIR / '_nuxt'),
|
||||
name='assets',
|
||||
)
|
||||
logger.success('assets mounted')
|
||||
|
||||
Reference in New Issue
Block a user