zeabur-domain-url
3
总安装量
1
周安装量
#60646
全站排名
安装命令
npx skills add https://github.com/zeabur/zeabur-claude-plugin --skill zeabur-domain-url
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
github-copilot
1
gemini-cli
1
Skill 文档
Zeabur Domain URL Configuration
Symptom
- Redirects go to wrong URL (missing domain suffix, or has trailing slash)
- CORS errors due to URL mismatch
${ZEABUR_WEB_URL}has trailing slash causing path issues
System Variables
| Variable | Example | Note |
|---|---|---|
ZEABUR_WEB_URL |
https://app.zeabur.app/ |
Has trailing slash |
ZEABUR_WEB_DOMAIN |
app.zeabur.app |
Domain only, no protocol |
Solution
Expose URL from entry service to others:
- name: entry-service
domainKey: PUBLIC_DOMAIN
spec:
env:
APP_URL:
default: https://${ZEABUR_WEB_DOMAIN}
expose: true
- name: backend
spec:
env:
WEB_URL:
default: ${APP_URL}
Use https://${ZEABUR_WEB_DOMAIN} not ${ZEABUR_WEB_URL} to avoid trailing slash.