diff --git a/.bunfig.toml b/.bunfig.toml new file mode 100644 index 0000000..7e51f12 --- /dev/null +++ b/.bunfig.toml @@ -0,0 +1,2 @@ +[install] +registry = "https://registry.npmmirror.com/" \ No newline at end of file diff --git a/app.json b/app.json index 3d3bfb3..1e68492 100644 --- a/app.json +++ b/app.json @@ -11,6 +11,14 @@ "ios": { "supportsTablet": true, "infoPlist": { + "NSAppTransportSecurity": { + "NSExceptionDomains": { + "192.168.20.2": { + "NSIncludesSubdomains": true, + "NSExceptionAllowsInsecureHTTPLoads": true + } + } + }, "NSPhotoLibraryUsageDescription": "允许访问照片库,以便模型使用您照片库中的素材进行视频创作”(例如:上传您参加音乐节的现场图,生成一个音乐节体验Vlog", "NSPhotoLibraryAddUsageDescription": "App需要访问相册来保存图片", "NSLocationWhenInUseUsageDescription": "允许获取位置信息,以便模型使用您的位置信息进行个性化创作”(例如:上传您去欧洲旅游的位置信息,结合在当地拍摄的照片,生成一个欧洲旅行攻略Vlog)", @@ -36,7 +44,8 @@ "WAKE_LOCK" ], "edgeToEdgeEnabled": true, - "package": "com.memowake.app" + "package": "com.memowake.app", + "networkSecurityConfig": "@xml/network_security_config" }, "web": { "bundler": "metro", diff --git a/network_security_config.xml b/network_security_config.xml new file mode 100644 index 0000000..7545674 --- /dev/null +++ b/network_security_config.xml @@ -0,0 +1,7 @@ + + + + 192.168.31.16 + 192.168.20.2 + +