|
|
|
|
|
by capableweb
1883 days ago
|
|
> Our CORS middleware is ~100 LOC What?! For responding to OPTIONS requests and setting the right header on responses from your backend? I don't really see the problems you're citing to be a cause of "complexity in CORS" either, but more not having a proper development setup or similar. CORS is specifically about domains. As long as you set the frontend domain as accepted origin in your responses from the backend (and respond to OPTIONS), you're good to go. |
|