URL of UI have double / (//) when using TEMPORAL_UI_PUBLIC_PATH
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 431
- Forks
- 179
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 71
Description
Describe the bug
The UI redirect me to /ui/temporal//namespaces/default/workflows instead of ui/temporal/namespaces/default/workflows
Also if I go manually to /ui/temporal/namespaces/default/workflows it returns an error 404.
The issue come when I upgrade from 1.10.3 to 1.21.3 (I had to change the env var TEMPORAL_PUBLIC_PATH to TEMPORAL_UI_PUBLIC_PATH
To Reproduce
Using K8S, use something like that :
containers:
- env:
- name: TEMPORAL_ADDRESS
value: temporal-frontend.svc:7233
- name: TEMPORAL_UI_PUBLIC_PATH
value: /ui/temporal
image: {registry}/temporal-ui:2.21.3
name: temporal-ui-web
ports:
- containerPort: 8080
name: http
protocol: TCP
resources: {}
**Expected behavior**
UI should redirect to /ui/temporal/namespaces/default/workflows
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the redirect with TEMPORAL_UI_PUBLIC_PATH set to /ui/temporal in the provided Kubernetes-style deployment, then trace where the UI builds navigation URLs. Done means redirects contain one separator and the corresponding direct path no longer returns 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, typescript
- Domain
- devops, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100