-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The default CORS origin is *
, which is overridden in the docker-setup template.
ui/server/docker/config-template.yaml
Line 24 in 2a91c8c
- {{ default .Env.TEMPORAL_CORS_ORIGINS "http://localhost:8080" }} |
To Reproduce
Steps to reproduce the behavior:
Set TEMPORAL_CORS_ORIGINS=*
in docker environment variable.
Expected behavior
The application should start.
Additional context
This validation error shows up in the logs.
config file corrupted: yaml: line 24: did not find expected alphabetic or numeric character
I would propose either setting the default to *
here or update the validation logic to allow *
ui/server/docker/config-template.yaml
Line 24 in 2a91c8c
- {{ default .Env.TEMPORAL_CORS_ORIGINS "http://localhost:8080" }} |
half0wl, RaboliotLeGris and ashwin153
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working