capacitor
capacitor copied to clipboard
Support CORS when using Live Reload
A repeat of https://github.com/ionic-team/capacitor/pull/2882, with some improvements.
Even if this will be superseded by Capacitor v3, I would still like to see this merged for v2. I am using patch-package for now :(
@diachedelic are you still running cap 2?
@riderx Yes, why do you ask?
Because it's 2 years old maybe it was outdated, and not necessary :)
I think this fix is still relevant to Capacitor 3. The relevant file was renamed to WebViewAssetHandler.swift, but was not substantially changed. This patch still applies.
@diachedelic i understand, but there are no really point to stay in capacitor 2. for me :/ The gap is not huge to migrate, and the benefice are huge.
closing since capacitor 2 is not supported and a similar change is already present in newer versions