From 7d0eea9813fe3c2e4b3dc43d5cf8b155aaa796dd Mon Sep 17 00:00:00 2001 From: amirrezaghabeli Date: Tue, 9 Sep 2025 12:25:56 +0330 Subject: [PATCH] changed url --- lib/core/config/app_config.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/config/app_config.dart b/lib/core/config/app_config.dart index 8e569f5..542bc74 100644 --- a/lib/core/config/app_config.dart +++ b/lib/core/config/app_config.dart @@ -8,13 +8,13 @@ class AppConfig { // این متد بر اساس محیط فعال، URL مناسب را برمی‌گرداند. static String get apiBaseUrl { - return 'http://10.0.2.2:8081'; + // return 'http://10.0.2.2:8081'; // return '192.168.1.103:8081'; // if (isDevelopment) { // // Handle different platforms for local development // if (kIsWeb) { // For web, use localhost - // return 'https://app.opplens.com'; + return 'https://app.opplens.com'; // return 'http://localhost:8081'; // } else { // For Android emulator, use 10.0.2.2 (special IP for host machine)