29 ms·
I don't really understand why people consider CORS to be such a blocker. It's trivial to implement and it's a useful security measure.
by untog 7y ago
I don't really understand why people consider CORS to be such a blocker. It's trivial to implement and it's a useful security measure.
- seanwilson 7y agoIt's not a big deal if you're in control of the server you want to communicate with, but I wouldn't say it's trivial if you need to run your own server (as opposed to none at all) to use as a proxy to get around a CORS restriction.
- thefounder 7y agoYou are restricted to consume content only from your server. A video player or just any data parser/interpreter is less useful if it runs only CORS-enables(and public) urls. Imagine cURL working only with CORS urls! Lol! PWAs value the site owner's "restrictions" more than the needs of the user. It's basically a kind of DRM so I believe PWAs are doomed to die unless they put the user in charge.