更换cocos

This commit is contained in:
Evan
2026-08-26 13:55:55 +08:00
parent 4fc07b1458
commit 43b983fb99
15680 changed files with 102 additions and 116 deletions

View File

@@ -164,18 +164,18 @@ const CONFIG = {
// DataServerBaseUrl: "https://test.server.001code.com",
// DataServerBaseUrl: "https://test.server.001code.com",
version: "20260717",
version: "2026071701",
/** OSS 真实地址(生产环境浏览器直连) */
unityCdnRemote: 'https://oss.eanic.cn/001_code_cocos_res_20260617',
unityCdnRemote: 'https://oss.eanic.cn/001_code_cocos_res_2026071701',
/** 方案 Bnginx / webpack 同源代理前缀(方案 A 直连 OSS 请保持 false */
unityCdnDevProxy: '/cdn-unity',
/** 本地 npm start 也走代理(仅 unityCdnUseSiteProxy 或此项为 true 时生效) */
unityCdnUseDevProxy: false,
/** 生产 nginx 反向代理 OSS 同路径时设为 true方案 B */
unityCdnUseSiteProxy: false,
unitycdndir: 'https://oss.eanic.cn/001_code_cocos_res_20260717',
unitycdnbuilddir: 'https://oss.eanic.cn/001_code_cocos_res_20260717/Build',
unitycdndir: 'https://oss.eanic.cn/001_code_cocos_res_2026071701',
unitycdnbuilddir: 'https://oss.eanic.cn/001_code_cocos_res_2026071701/Build',
python_pyodide_cdn_dir: 'https://oss.eanic.cn/001_code_python_res_20241213/pyodide/',
// 可以根据需要添加其他配置
@@ -183,7 +183,7 @@ const CONFIG = {
disabledev: false,
usecdn: true,
usecdn: false,
lvlock: false,
lvlock_normal_learn: !(typeof localStorage !== 'undefined' &&
(localStorage.getItem('player_id') === '37' || localStorage.getItem('player_id') === '45' || localStorage.getItem('player_id') === '55')),

View File

@@ -92,7 +92,7 @@
<footer class="footer">
<div class="footer-inner">
<div class="footer-text" ">
<div class="footer-text">
ICP备案号<a style=" color: #387cbd;" href=" " target="_blank">蜀ICP备2022002563号-5</a>
<span> 公安备案号:<a style=" color: #387cbd;" href="https://beian.mps.gov.cn/"
target="_blank">川公网安备51011202000980号</a></span>

View File

@@ -1,5 +1,5 @@
const CACHE_NAME = 'pyodide-cache-v1';
const usecdn = true;
const usecdn = false;
const PYODIDE_CDN = usecdn
? 'https://oss.eanic.cn/001_code_python_res_20241213/pyodide/'
: 'pyodide/';