修复了路由状态拿不到客户端配置的问题
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user