fixed web url
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user