FileUpload with CORS?
Using FileUpload on a stack with multi-domain support, when using a domain that is not the primary, we get a CORS request. IS there a way for it to ensure it uses the correct domain that the field is being served from?
6 Replies
Update the config based on the current domain?
π€
Dynamic in the session? Hmmm
Yes
Familiar with any examples? I had tried in the app service provided on boot. But this wasn't effecting it.
Or adjust your Cors headers π
Probably the better way
I am trying to get rid of the second url tbh, I'm starting to wish I created a separate app with communication with the primary lols
Okkkk I think I can do this with a custom disk driver actually π