You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is designed to reflect the host origin, similar to setting '*' but it works with the browser.
I am setting the app with this custom Middleware like this :
crow::App<DynamicCORS> app;
For get request I have no problem and I also get the logs from my app.
Here's the response headers :
I am using Crow 1.2.
I have created the following middleware :
It is designed to reflect the host origin, similar to setting '*' but it works with the browser.
I am setting the app with this custom Middleware like this :
For get request I have no problem and I also get the logs from my app.
Here's the response headers :
However for POST requests I get this :
And I don't get any logs from my app, so the middleware was actually not triggered. Here's how I register my routes :
The text was updated successfully, but these errors were encountered: