You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
I think the header Access-Control-Allow-Origin sholud only return current request domain.
Here is pseudocode to present my thoughts.
Describe the bug
prest.toml
Frontend using js fetch call pREST in domain1's webpage, it failed.
Firefox show these messages.
Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://www.domain1.com,https://www.domain2.com’
Reason: CORS request did not succeed
But when I using this setting, it works.
To Reproduce
js fetch
Expected behavior
Return table data (JSON)
Desktop (please complete the following information):
v1.0.10
/prest/public/prest_users
docker image postgres:13-alpine
Additional context
I think the header
Access-Control-Allow-Origin
sholud only return current request domain.Here is pseudocode to present my thoughts.
The text was updated successfully, but these errors were encountered: