Skip to content
Trilha

Error catalog

E_CORS_ON_PAGE

CORS on a page

A page declares CORS, but CORS is for APIs: a browser never fetches an HTML page from another origin.

Fix

Move the handler to a route.go, or drop the policy if the page is same-origin.