mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[GH-ISSUE #744] cf worker部署后端后,/显示OK,/health-check显示Not Found,部署前端也显示404 #281
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ZhenHuangLab on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/744
rt,疑惑,我按照步骤部署了mail的后端api,打开
https://*.worker.dev/显示OK,但是打开https://*.worker.dev/health-check却显示Not Found;然后我去部署前端,在教程那里生成了前端的zip文件(输入的是api的网页,没问题,试了好几遍),放进worker之后虽然说部署成功,但是一打开对应的网址就报如下错误:是哪一个环节出了问题?我需要提供什么信息以供排查
@dreamhunter2333 commented on GitHub (Oct 20, 2025):
感谢反馈,worker 看起来已经成功,应该为
/health_check.pages 是否部署错分支呢,需要指定 production 分支,不然会部署到 preview 的分支地址
@ZhenHuangLab commented on GitHub (Oct 20, 2025):
好的,我打开api的
/health_check返回的也是OK,没问题。我部署的是production分支,如图:
但是打开这个网页后仍然显示404.
@dreamhunter2333 commented on GitHub (Oct 20, 2025):
文件结构是否如下呢
@ZhenHuangLab commented on GitHub (Oct 20, 2025):
感谢,似乎找到了问题。我之前上传的结构是这样的:
似乎多了一层子目录。😂 谢谢!