Проверка работы с ноута, запоминаем ip
This commit is contained in:
parent
94a3838c7c
commit
7e9322c283
@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
<option name="id" value="Android" />
|
||||
</component>
|
||||
</project>
|
@ -96,4 +96,6 @@ dependencies {
|
||||
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
||||
debugImplementation("androidx.compose.ui:ui-tooling")
|
||||
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
||||
|
||||
//
|
||||
}
|
@ -146,7 +146,10 @@ interface MyServerService {
|
||||
): RentRemote
|
||||
|
||||
companion object {
|
||||
private const val BASE_URL = "http://192.168.0.104:8079/"
|
||||
//Раздача с тлф
|
||||
private const val BASE_URL = "http://192.168.138.47:8079/"
|
||||
//Пк дома
|
||||
/*private const val BASE_URL = "http://192.168.0.104:8079/"*/
|
||||
//private const val BASE_URL = "http://10.0.2.2:8079/"
|
||||
|
||||
@Volatile
|
||||
|
@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<domain-config cleartextTrafficPermitted="true">
|
||||
<domain includeSubdomains="true">192.168.0.104</domain>
|
||||
<!--Раздача с тлф-->
|
||||
<domain includeSubdomains="true">192.168.138.47</domain>
|
||||
<!--Дома пк-->
|
||||
<!-- <domain includeSubdomains="true">192.168.0.104</domain>-->
|
||||
<!-- <domain includeSubdomains="true">10.0.2.2</domain>-->
|
||||
</domain-config>
|
||||
</network-security-config>
|
Loading…
Reference in New Issue
Block a user