Hacker News new | ask | show | jobs
by hsbauauvhabzb 1703 days ago
You can use the origin announce headers from Firefox to block cors also, unsure if that works with chrome.

But I was referring to legacy code (or those whose SPA is stored on the same domain as API endpoints).