[GH-ISSUE #693] 通过UI部署,405报错 #261

Open
opened 2026-02-26 20:36:23 +03:00 by kerem · 5 comments
Owner

Originally created by @HaveCake on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/693

如题,405报错。查看过往issue怀疑是由于前后端分离导致,但小白不清楚是哪一步导致的前后端分离。

Image

https://mail.20110228.xyz/temp-email-api.20110228.xyz/admin/users 405 (Method Not Allowed)

可以看到此处似乎指向了自身

请大佬解惑!

Originally created by @HaveCake on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/693 如题,405报错。查看过往issue怀疑是由于前后端分离导致,但小白不清楚是哪一步导致的前后端分离。 <img width="824" height="903" alt="Image" src="https://github.com/user-attachments/assets/e02626f1-9185-4665-b2c5-3e55ac2a1c5f" /> https://mail.20110228.xyz/temp-email-api.20110228.xyz/admin/users 405 (Method Not Allowed) 可以看到此处似乎指向了自身 请大佬解惑!
Author
Owner

@dreamhunter2333 commented on GitHub (Jul 24, 2025):

感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改
https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html

Image
<!-- gh-comment-id:3114065478 --> @dreamhunter2333 commented on GitHub (Jul 24, 2025): 感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改 https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html <img width="792" height="385" alt="Image" src="https://github.com/user-attachments/assets/bfaa3195-f6a2-49de-9305-77d09d12ad70" />
Author
Owner

@HaveCake commented on GitHub (Jul 24, 2025):

感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改 https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html

Image

已尝试修改,问题未解决

Image

可以看到配置似乎没有出错

Image

与后端自定义域名保持一致

我将尝试使用cloudflare自动分配的后端域名,以排查是否与自定义域名有关。若尝试后仍无效,我将尝试重新部署以及其他部署方式。

Image

值得注意的是,网页打开时会弹出报错"Cannot read properties of undefined (reading 'map")",也请大佬解答

<!-- gh-comment-id:3114189561 --> @HaveCake commented on GitHub (Jul 24, 2025): > 感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改 https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html > > <img alt="Image" width="792" height="385" src="https://private-user-images.githubusercontent.com/32295532/470408532-bfaa3195-f6a2-49de-9305-77d09d12ad70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTMzNzU1MDUsIm5iZiI6MTc1MzM3NTIwNSwicGF0aCI6Ii8zMjI5NTUzMi80NzA0MDg1MzItYmZhYTMxOTUtZjZhMi00OWRlLTkzMDUtNzdkMDlkMTJhZDcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNzI0VDE2NDAwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiNjEzZTEwYjA4YTRhNTUyYzI3NjU2MmRiMGM4N2VhYTg3ZTg1M2MwZDdmNDI3MTEwMWUzM2QxNDkxZTViYjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jPT8az_R56kNssIgibMdEJ92_J_UwEgHIZ1qYlecs_s"> 已尝试修改,问题未解决 <img width="1920" height="1020" alt="Image" src="https://github.com/user-attachments/assets/0e4a0e1f-f47c-4faa-8414-47aeb9434618" /> 可以看到配置似乎没有出错 <img width="1848" height="903" alt="Image" src="https://github.com/user-attachments/assets/cb05544c-7fd8-42be-999d-71a16d80fbf6" /> 与后端自定义域名保持一致 我将尝试使用cloudflare自动分配的后端域名,以排查是否与自定义域名有关。若尝试后仍无效,我将尝试重新部署以及其他部署方式。 <img width="1848" height="903" alt="Image" src="https://github.com/user-attachments/assets/59a21d6e-a980-4282-8d85-9b24a36bf85c" /> 值得注意的是,网页打开时会弹出报错"Cannot read properties of undefined (reading 'map")",也请大佬解答
Author
Owner

@HaveCake commented on GitHub (Jul 24, 2025):

问题似乎解决,有可能是一开始更改后,cloudflareCDN问题或本地缓存没有清除等原因,没有更新前端代码?具体原因未知。谢谢大佬!

<!-- gh-comment-id:3114340173 --> @HaveCake commented on GitHub (Jul 24, 2025): 问题似乎解决,有可能是一开始更改后,cloudflareCDN问题或本地缓存没有清除等原因,没有更新前端代码?具体原因未知。谢谢大佬!
Author
Owner

@HaveCake commented on GitHub (Jul 24, 2025):

感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改
https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html

Image

问题已解决,btw,作者大大有适配移动端的考虑吗?手机端没有适配用起来有点难受喔QwQ

<!-- gh-comment-id:3114355258 --> @HaveCake commented on GitHub (Jul 24, 2025): > 感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改 > https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html > > <img width="792" height="385" alt="Image" src="https://github.com/user-attachments/assets/bfaa3195-f6a2-49de-9305-77d09d12ad70" /> 问题已解决,btw,作者大大有适配移动端的考虑吗?手机端没有适配用起来有点难受喔QwQ
Author
Owner

@HaveCake commented on GitHub (Jul 24, 2025):

感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改
https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html

Image

问题已解决,btw,作者大大有适配移动端的考虑吗?手机端没有适配用起来有点难受喔QwQ

啊不好意思没有发现我的edge浏览器模式是电脑模式(_; ,多有打扰请原谅(¯―¯٥)(;・∀・)

<!-- gh-comment-id:3114358741 --> @HaveCake commented on GitHub (Jul 24, 2025): > > 感谢反馈,看起来是后端 url 配置错误了,参考文档,此处的修改 > > https://temp-mail-docs.awsl.uk/zh/guide/ui/pages.html > > > > <img width="792" height="385" alt="Image" src="https://github.com/user-attachments/assets/bfaa3195-f6a2-49de-9305-77d09d12ad70" /> > > 问题已解决,btw,作者大大有适配移动端的考虑吗?手机端没有适配用起来有点难受喔QwQ 啊不好意思没有发现我的edge浏览器模式是电脑模式(*_*; ,多有打扰请原谅(¯―¯٥)(;・∀・)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#261
No description provided.