fix:api接口错误
This commit is contained in:
@@ -11,6 +11,6 @@ public class MainActivity extends BridgeActivity {
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
registerPlugin(NotificationPermissionPlugin.class);
|
||||
registerPlugin(CapacitorSQLitePlugin.class);
|
||||
super.onCreate(savedInstanceState);
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,7 @@
|
||||
<domain includeSubdomains="true">localhost</domain>
|
||||
<domain includeSubdomains="true">127.0.0.1</domain>
|
||||
<domain includeSubdomains="true">10.0.2.2</domain>
|
||||
<!-- Production/backend host -->
|
||||
<domain includeSubdomains="true">120.26.116.145</domain>
|
||||
</domain-config>
|
||||
</network-security-config>
|
||||
|
||||
@@ -20,5 +20,5 @@ org.gradle.jvmargs=-Xmx1536m
|
||||
# Android operating system, and which are packaged with your app's APK
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
API_BASE_URL=http://10.0.2.2:4000/api
|
||||
NOTIFICATION_WEBHOOK_SECRET=38f71dbf99ab510d970165e43979f945f992848406117c8597a892837331a853
|
||||
API_BASE_URL=http://120.26.116.145:4010/api
|
||||
NOTIFICATION_WEBHOOK_SECRET=bf921ce9ac433ba2fdfccbccb50e7d805ac89f166962e4b8437a3ecd4ef833b2
|
||||
Reference in New Issue
Block a user