修复了路由状态拿不到客户端配置的问题

This commit is contained in:
CrescentLeaf
2025-12-14 00:13:41 +08:00
parent 856aeb868a
commit 895ea6e4e1

View File

@@ -37,5 +37,5 @@ const onResize = () => {
window.addEventListener('resize', onResize) window.addEventListener('resize', onResize)
onResize() onResize()
const config = await fetch('config.json').then((re) => re.json()) const config = await fetch('/config.json').then((re) => re.json())
config.title && (document.title = config.title) config.title && (document.title = config.title)