Replies: 1 comment
-
Based on #149 (comment), I got it to work by adding
before calling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We wanted to download the excel file using an authenticated route to have a check of permissions before downloading.
This is the code for my Controller and trying just with a sample one. but I am still having problems with CORS. I have tried applying a CORS Middleware from different sources but still doesn't work.
All of my other routes have CORS Headers applied to them.
I don't have any answers why it is not working. I have tried also applying the headers from the response header parameter as seen on the sample code and yet the response is still not applying the CORS headers
Sample Code:
Also tried working with just returning the whole SimpleExcelWriter but still having the CORS error:
Beta Was this translation helpful? Give feedback.
All reactions