fixed web url

This commit is contained in:
amirrezaghabeli
2025-09-02 15:34:27 +03:30
parent 305598028b
commit 1127ba8365
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -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';
@@ -130,12 +130,15 @@ class _LoginDesktopPageState extends State<LoginDesktopPage> {
kIsWeb
? Padding(
padding: EdgeInsets.symmetric(vertical: 20.0.h()),
child: ClipRRect(
borderRadius: BorderRadiusGeometry.circular(32),
child: Image.asset(
AssetsManager.webLoginImage,
width: 796.0,
height: 944.0,
fit: BoxFit.fitWidth,
),
),
)
: Container(),
],