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 would like to additionally patch fetch so that fetch('http://a-server.com/this/path.js') first looks in the capacitor file system for capacitor://localhost/this/path.js and serves that if it exists, otherwise it hits the internet.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to additionally patch fetch so that
fetch('http://a-server.com/this/path.js')first looks in the capacitor file system forcapacitor://localhost/this/path.jsand serves that if it exists, otherwise it hits the internet.How could I set that up?
Beta Was this translation helpful? Give feedback.
All reactions