This commit is contained in:
Mohamed Nouffer
2022-05-18 19:09:26 +05:30
parent 80a976baa0
commit ee0440e6b6
26 changed files with 411 additions and 59 deletions

View File

@ -6,7 +6,7 @@ class AuthService{
static Future<Map<String, dynamic>> login(String email, String password) async {
Map<String, dynamic> cats = {};
String url = 'http://localhost:8100/api/login/';
String url = 'http://container.intranet.sumasen.net:8100/api/login/';
final http.Response response = await http.post(
Uri.parse(url),
headers: <String, String>{
@ -27,7 +27,7 @@ class AuthService{
static Future<Map<String, dynamic>> register(String email, String password) async {
Map<String, dynamic> cats = {};
String url = 'http://localhost:8100/api/register/';
String url = 'http://container.intranet.sumasen.net:8100/api/register/';
final http.Response response = await http.post(
Uri.parse(url),
headers: <String, String>{