posts: 更新在EdgeOne Pages上部署Umami的文章

添加关于POST请求被拦截的临时解决方案说明
移除已解决的内部重定向问题描述
This commit is contained in:
二叉树树
2026-01-19 22:18:29 +08:00
parent 90e4e6c161
commit 1939103ee3

View File

@@ -30,9 +30,13 @@ Demo [Umami](https://eo-umami.acofork.com/share/rC995W8J6CT4uLDo)
# 上手部署
1. Fork 该仓库 [afoim/umami: Umami is a modern, privacy-focused analytics platform. An open-source alternative to Google Analytics, Mixpanel and Amplitude.](https://github.com/afoim/umami)
1. Fork 该仓库 [[afoim/umami: Umami is a modern, privacy-focused analytics platform. An open-source alternative to Google Analytics, Mixpanel and Amplitude.](https://github.com/afoim/umami)](https://github.com/afoim/umami-edgeonepages/tree/main)
2. 连接到EdgeOne Pages但先别点部署
3. 填写环境变量 `DATABASE_URL` 从Supbase中拿类似于 `postgresql://postgres.kupggtyqiaepzvjqbboy:[YOUR-PASSWORD]@aws-1-ap-northeast-1.pooler.supabase.com:5432/postgres`
4. 绑定你的域名,访问并登录。用户名: admin | 密码umami
# 疑难解答
内部重定向貌似出了问题,如果你想要访问设置更改你的管理员密码请手动前往 `/settings/preferences`
~~内部重定向貌似出了问题,如果你想要访问设置更改你的管理员密码请手动前往 `/settings/preferences`~~ 他们解决了这个问题,但是...
但是有个新问题就是POST请求全被吃了目前代码暂时将所有POST请求改为了GET请求。我们在 **Main** 分支发布了全GET请求的版本保证普通用户可用
**master 分支目前提供给腾讯当作试验场使用,会暴露很多敏感信息,别用**