fix(cors): enable preflight for Capacitor WebView requests
Add express cors middleware with reflected origin so Android clients from https://localhost receive Access-Control-Allow-* headers on OPTIONS and can proceed with POST requests.
This commit is contained in:
3796
package-lock.json
generated
Normal file
3796
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user