From 7f0c3a638d6c349665e18f061dca58c85f1a2f57 Mon Sep 17 00:00:00 2001 From: dasha Date: Tue, 5 Dec 2023 15:59:14 +0400 Subject: [PATCH] lw5 --- .idea/codeStyles/Project.xml | 123 ++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 + .../myapplication/api/MyServerService.kt | 3 +- .../main/res/xml/network_security_config.xml | 3 +- 4 files changed, 132 insertions(+), 2 deletions(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..7643783 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,123 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/app/src/main/java/com/example/myapplication/api/MyServerService.kt b/app/src/main/java/com/example/myapplication/api/MyServerService.kt index 4b2f897..a1ce980 100644 --- a/app/src/main/java/com/example/myapplication/api/MyServerService.kt +++ b/app/src/main/java/com/example/myapplication/api/MyServerService.kt @@ -116,7 +116,8 @@ interface MyServerService { ): OrderRemote companion object { - private const val BASE_URL = "http://192.168.154.166:8079/" + //private const val BASE_URL = "http://192.168.154.166:8079/" + private const val BASE_URL = "http://192.168.0.101:8079/" @Volatile private var INSTANCE: MyServerService? = null diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml index 9e9f9ce..a3e027f 100644 --- a/app/src/main/res/xml/network_security_config.xml +++ b/app/src/main/res/xml/network_security_config.xml @@ -1,6 +1,7 @@ - 192.168.154.166 + + 192.168.0.101 \ No newline at end of file