Skip to content

Commit

Permalink
Update:Enable CapacitorHttp to patch XMLHttpRequest to use native lib…
Browse files Browse the repository at this point in the history
…raries, fixes cors #781
  • Loading branch information
advplyr committed Jul 12, 2023
1 parent dd91bc6 commit 8527021
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion android/app/src/main/assets/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"appId": "com.audiobookshelf.app",
"appName": "audiobookshelf-app",
"webDir": "dist",
"bundledWebRuntime": false
"bundledWebRuntime": false,
"plugins": {
"CapacitorHttp": {
"enabled": true
}
}
}
7 changes: 6 additions & 1 deletion capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"appId": "com.audiobookshelf.app",
"appName": "audiobookshelf-app",
"webDir": "dist",
"bundledWebRuntime": false
"bundledWebRuntime": false,
"plugins": {
"CapacitorHttp": {
"enabled": true
}
}
}
7 changes: 6 additions & 1 deletion ios/App/App/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"appId": "com.audiobookshelf.app",
"appName": "audiobookshelf-app",
"webDir": "dist",
"bundledWebRuntime": false
"bundledWebRuntime": false,
"plugins": {
"CapacitorHttp": {
"enabled": true
}
}
}

0 comments on commit 8527021

Please sign in to comment.