changed url for goal

This commit is contained in:
Mohamed Nouffer
2023-07-15 22:36:29 +05:30
parent 4437b5368a
commit 547891437b

View File

@ -190,7 +190,7 @@ class ExternalService {
'team_name': teamname, 'team_name': teamname,
'cp_number': cp.toString(), 'cp_number': cp.toString(),
'event_code': eventcode, 'event_code': eventcode,
'image': _res["checkinimage"].toString().replaceAll('http://localhost', 'http://rogaining.sumasen.net') 'image': _res["checkinimage"].toString().replaceAll('http://localhost:8100', 'http://rogaining.sumasen.net')
}); });
print("--json-- ${vvv}"); print("--json-- ${vvv}");
print("--- checnin response ${response3.statusCode}----"); print("--- checnin response ${response3.statusCode}----");
@ -262,7 +262,7 @@ class ExternalService {
'team_name': teamname, 'team_name': teamname,
'event_code': eventcode, 'event_code': eventcode,
'goal_time' : goal_time, 'goal_time' : goal_time,
'image' : _res["goalimage"].toString().replaceAll('http://localhost', 'http://rogaining.sumasen.net') 'image' : _res["goalimage"].toString().replaceAll('http://localhost:8100', 'http://rogaining.sumasen.net')
} }
), ),
); );
@ -270,7 +270,7 @@ class ExternalService {
'team_name': teamname, 'team_name': teamname,
'event_code': eventcode, 'event_code': eventcode,
'goal_time' : goal_time, 'goal_time' : goal_time,
'image' : _res["goalimage"].toString().replaceAll('http://localhost', 'http://rogaining.sumasen.net') 'image' : _res["goalimage"].toString().replaceAll('http://localhost:8100', 'http://rogaining.sumasen.net')
} }
); );
print("-- json -- ${rec}"); print("-- json -- ${rec}");