ui icon indicating copy to clipboard operation
ui copied to clipboard

URL of UI have double / (//) when using TEMPORAL_UI_PUBLIC_PATH

Open snigle opened this issue 2 years ago • 0 comments

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

snigle avatar Dec 28 '23 11:12 snigle