禅游网盘
约 350 字大约 1 分钟
2026-11-09
问题:访问https://jczen.dpdns.org/explorer/有问题,控制台报错
GET https://jczen.dpdns.org/assets/index.d45e6ea7.js net::ERR_ABORTED 404 (Not Found)
explorer/:37 GET https://jczen.dpdns.org/assets/index.40d0d519.css net::ERR_ABORTED 404 (Not Found)现在是给禅游网盘这个Worker工程挂载到了``https://jczen.dpdns.org/explorer/子域名下,直接挂载到https://jczen.dpdns.org/`没有问题,修复一下
github action 将工程部署到 cloudflare,现在访问https://jc-explorer.jc1170058868.workers.dev/功能都是正常的,访问 https://jczen.dpdns.org/explorer 报错 Failed to load resource: the server responded with a status of 404 ()
github action 将工程部署到 cloudflare,现在访问https://jc-explorer.jc1170058868.workers.dev/功能都是正常的,访问 https://jczen.dpdns.org/explorer/
报错:
GET https://jczen.dpdns.org/assets/index.d45e6ea7.js net::ERR_ABORTED 404 (Not Found)
explorer/:37 GET https://jczen.dpdns.org/assets/index.40d0d519.css net::ERR_ABORTED 404 (Not Found)```shell
# 1. 先构建 Dashboard 静态文件
pnpm build-dashboard
# 2. 启动 Worker 本地开发(包含前端静态资源服务)
cd packages/worker/dev && wrangler dev
```本地启动后访问 http://localhost:8787/explorer/报错:Failed to load module script: Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
背景:现在本地启动后访问http://localhost:8787是正常的,但是想要访问http://localhost:8787/explorer/,因为之后上到cloudflare是 https://jczen.dpdns.org/explorer/的网址。
现在本地启动访问 http://localhost:8787/explorer/ 登录后还是显示404网页,能否将编译后的文件放到packages/worker/dashboard 下面再加一层文件夹 /explorer
jinchen19940116@gmail.com
jczen.dpdns.org
magali.ns.cloudflare.com
hal.ns.cloudflare.com
jin243090@gmail.com
jcread.dpdns.org
fred.ns.cloudflare.com
daisy.ns.cloudflare.com
mckellarjj33@gmail.com
jcdrive.dpdns.org
hal.ns.cloudflare.com
magali.ns.cloudflare.com