Describe the bug
The default CORS origin is *, which is overridden in the docker-setup template.
|
- {{ 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 *
|
- {{ default .Env.TEMPORAL_CORS_ORIGINS "http://localhost:8080" }} |
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
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.
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