This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git


The following commit(s) were added to refs/heads/master by this push:
     new 65905f9  chore: update paramedic-plugin allow list for file-transfer's 
server (#263)
65905f9 is described below

commit 65905f98167dd0d677b8b63103e9293cf68da441
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Tue Sep 5 10:15:55 2023 +0900

    chore: update paramedic-plugin allow list for file-transfer's server (#263)
---
 paramedic-plugin/plugin.xml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/paramedic-plugin/plugin.xml b/paramedic-plugin/plugin.xml
index c14f54d..9d021d2 100644
--- a/paramedic-plugin/plugin.xml
+++ b/paramedic-plugin/plugin.xml
@@ -34,13 +34,21 @@
         <runs/>
     </js-module>
 
+    <config-file target="config.xml" parent="/*">
+      <access origin="http://127.0.0.1:*/*"; />
+      <access origin="http://10.0.2.2:*/*"; />
+
+      <allow-navigation href="http://127.0.0.1:*/*"; />
+      <allow-navigation href="http://10.0.2.2:*/*"; />
+
+      <allow-intent href="http://127.0.0.1:*/*"; />
+      <allow-intent href="http://10.0.2.2:*/*"; />
+  </config-file>
+
     <platform name="ios">
         <config-file target="config.xml" parent="/*">
             <preference name="scheme" value="app" />
             <preference name="hostname" value="localhost" />
-            <access origin="http://127.0.0.1:*/*"; />
-            <allow-navigation href="http://127.0.0.1:*/*"; />
-            <allow-intent href="http://127.0.0.1:*/*"; />
         </config-file>
     </platform>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to