From 5678b0b07232a2f814a7823855dd7e51cb8efa17 Mon Sep 17 00:00:00 2001 From: Eric85710 Date: Mon, 8 Jun 2026 10:13:42 +0800 Subject: [PATCH] dm-97 --- .../java/com/example/login_v3/data/di/NetworkModule.kt | 2 +- app/src/main/res/xml/network_security_config.xml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/com/example/login_v3/data/di/NetworkModule.kt b/app/src/main/java/com/example/login_v3/data/di/NetworkModule.kt index c3c11be..dbe7a09 100644 --- a/app/src/main/java/com/example/login_v3/data/di/NetworkModule.kt +++ b/app/src/main/java/com/example/login_v3/data/di/NetworkModule.kt @@ -36,7 +36,7 @@ object NetworkModule { @Singleton fun provideRetrofit(moshi: Moshi, okHttpClient: OkHttpClient): Retrofit { return Retrofit.Builder() - .baseUrl("https://192.168.0.217/") + .baseUrl("http://192.168.0.217/") .client(okHttpClient) // 關鍵:將攔截器綁定到 Retrofit .addConverterFactory(MoshiConverterFactory.create(moshi)) .build() diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml index 38ad3d0..8d00865 100644 --- a/app/src/main/res/xml/network_security_config.xml +++ b/app/src/main/res/xml/network_security_config.xml @@ -1,15 +1,9 @@ - - 192.168.0.217 - - - - - + \ No newline at end of file