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
I had to adapt your code in order to make it work with a browser which does preflight requests to check CORS. I've added the following to make it work:
Thanks for the additional details. Strange enough the upload server should be fine out of the box with preflight request. I just saw that the syntax that you posted stems from hapi 17.
I hope to upgrade the server to hapi 17 soon, then your snippet should come in handy. Thank you.
First of all: Thanks for this project!
I had to adapt your code in order to make it work with a browser which does preflight requests to check CORS. I've added the following to make it work:
As I'm not an expert on http file upload, I can't say if that code covers the general case. It worked for me..
The text was updated successfully, but these errors were encountered: