WKWebView, Form POST and Session Cookies

Thank you for confirming that to me, could you perhaps show me a screenshot of how you had cors set in your project? I didn’t really understand this documentation https://expressjs.com/en/resources/middleware/cors.html and how to adjust/incorporate for Wappler.

Sorry I’m not so technical :see_no_evil:

You need to modify this line, which should have been added by default to your page:

<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap:">

Adding your domain to the default-src is a good start. Again, follow the errors in the dev console as for what to do next.

1 Like

Awesome thank you, I will give that a try.

I fixed it now :slight_smile: I just needed to include as dependency in package.json so I edited manually