Why am i only getting a CORS error when i try calling worker endpoint from localhost? Works fine cal

Why am i only getting a CORS error when i try calling worker endpoint from localhost? Works fine calling it in browser and i set Access-Control-Allow-Origin to * as well as added preflight
Was this page helpful?