mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[GH-ISSUE #445] Cannot read properties of undefined (reading 'map') #157
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#157
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 @psen888 on GitHub (Sep 15, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/445
小白部署有点困难,最后步骤。前端报错Cannot read properties of undefined (reading 'map')麻烦大佬解答下,谢谢
预期行为
部署方式
浏览器环境
@dreamhunter2333 commented on GitHub (Sep 17, 2024):
看起来是 worker 后台配置不正确,检查下worker 的配置
@dreamhunter2333 commented on GitHub (Sep 17, 2024):
可以 F12 看下 openapi settings api 的返回值
@hoey94 commented on GitHub (Nov 16, 2024):
settings 的GET请求发送的有问题,嵌套了两层
@dreamhunter2333
请求 URL:
https://mail.77558.icu/tmail-worker.2997806434.workers.dev/open_api/settings
GET
200 OK
104.21.58.199:443
strict-origin-when-cross-origin
@dreamhunter2333 commented on GitHub (Nov 16, 2024):
你发送的这个 url 可以正常使用啊 @hoey94
@hoey94 commented on GitHub (Nov 16, 2024):
是最新版本的0.8 front有问题,无法与worker通信。 从front发送的api
https://mail.77558.icu/tmail-worker.2997806434.workers.dev/open_api/settings
期望是:
https://tmail-worker.2997806434.workers.dev/open_api/settings
部署front 0.7.6版本没问题
@dreamhunter2333 commented on GitHub (Nov 16, 2024):
检查下 front 的后端 url 配置,第一个看起来是配置的时候没加
https://前缀导致的@dreamhunter2333 commented on GitHub (Nov 30, 2024):
检查下 front 的后端 url 配置,第一个看起来是配置的时候没加 https:// 前缀导致的