337 B
337 B
Introduction to fuck-cors-app
Fuck CORS app is a minimal CORS Proxy.
Main usage once it is running:
// BEFORE
document.fetch(url) // => FAIL WITH CORS
// AFTER
document.fetch('http://127.0.0.1:1977/?url=' + encodeURIComponent(url)) // => WORKS
CORS are not even secure, it is trivial to use such a self hosted CORS proxy.