fix: 修复公告中心崩溃、皮肤预览错乱、分组不刷新与地图被拦
- 补回公告中心缺失的配图状态与加载函数,组件此前因引用未定义变量而崩溃 - 皮肤预览按玩家与纹理重建渲染器,避免切换后纹理错位 - 设置分组后同步本地实例分组字段,无需刷新页面 - 地图 iframe 的 CSP frame-src 放开 https,适配服务端可配置的地图地址
This commit is contained in:
1 parent
bc6b7cac03
commit
f10920883d
4 files changed
+36
-2
No files matched your search
@@ -126,7 +126,7 @@
|
||||
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
|
||||
"worker-src": "'self' blob:",
|
||||
|
||||
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self' http://axolotl-skin.localhost axolotl-skin://localhost https://skin.starlight.cool https://map.starlight.cool",
|
||||
"frame-src": "https: http://axolotl-skin.localhost axolotl-skin://localhost 'self'",
|
||||
"media-src": "'self' data: https://*.githubusercontent.com"
|
||||
},
|
||||
"csp": {
|
||||
@@ -136,7 +136,7 @@
|
||||
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:",
|
||||
"style-src": "'unsafe-inline' 'self'",
|
||||
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
|
||||
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self' axolotl-skin://localhost http://axolotl-skin.localhost https://skin.starlight.cool https://map.starlight.cool",
|
||||
"frame-src": "https: axolotl-skin://localhost http://axolotl-skin.localhost 'self'",
|
||||
"media-src": "'self' data: https://*.githubusercontent.com"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user