From 1127ba83652e33e69ca6a28df0bfa716724abd93 Mon Sep 17 00:00:00 2001 From: amirrezaghabeli Date: Tue, 2 Sep 2025 15:34:27 +0330 Subject: [PATCH] fixed web url --- lib/core/config/app_config.dart | 2 +- lib/views/login/pages/login_desktop_page.dart | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/core/config/app_config.dart b/lib/core/config/app_config.dart index e740c3d..7b8a654 100644 --- a/lib/core/config/app_config.dart +++ b/lib/core/config/app_config.dart @@ -16,7 +16,7 @@ class AppConfig { // // Handle different platforms for local development if (kIsWeb) { // For web, use localhost - return 'http://localhost:8081'; + return 'http://localhost:8090'; } else { // For Android emulator, use 10.0.2.2 (special IP for host machine) return 'http://10.0.2.2:8081'; diff --git a/lib/views/login/pages/login_desktop_page.dart b/lib/views/login/pages/login_desktop_page.dart index 0b0cf3d..028c510 100644 --- a/lib/views/login/pages/login_desktop_page.dart +++ b/lib/views/login/pages/login_desktop_page.dart @@ -130,11 +130,14 @@ class _LoginDesktopPageState extends State { kIsWeb ? Padding( padding: EdgeInsets.symmetric(vertical: 20.0.h()), - child: Image.asset( - AssetsManager.webLoginImage, - width: 796.0, - height: 944.0, - fit: BoxFit.fitWidth, + child: ClipRRect( + borderRadius: BorderRadiusGeometry.circular(32), + child: Image.asset( + AssetsManager.webLoginImage, + width: 796.0, + height: 944.0, + fit: BoxFit.fitWidth, + ), ), ) : Container(),