Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env CORS_ALLOWED_ORIGIN_LIST example need to correct #348

Open
macauleycheng opened this issue Apr 23, 2024 · 1 comment · May be fixed by #349
Open

Env CORS_ALLOWED_ORIGIN_LIST example need to correct #348

macauleycheng opened this issue Apr 23, 2024 · 1 comment · May be fixed by #349

Comments

@macauleycheng
Copy link

In simulator/config/config.go:181 it use
CORS_ALLOWED_ORIGIN_LIST="http://localhost:3000, http://localhost:3001, http://localhost:3002" as example.
It will cause URI parse error with extra ".
It shall correct it to CORS_ALLOWED_ORIGIN_LIST=http://localhost:3000,http://localhost:3001,http://localhost:3002
strip the space and ".

@sanposhiho sanposhiho linked a pull request Apr 23, 2024 that will close this issue
@sanposhiho
Copy link
Member

will be fixed in #349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants