Set public url
This commit is contained in:
parent
c7257dd1b2
commit
877821d3a3
@ -11,7 +11,7 @@ import 'Login.dart';
|
||||
|
||||
Future<String> getToken(
|
||||
String user, String password, String otp, String devId) async {
|
||||
var uri = Uri.http("localhost:3000", "/login");
|
||||
var uri = Uri.https("mein.cantorgymnasium.de", "/login");
|
||||
String body =
|
||||
'{"user":"$user", "password": "$password", "otp": "$otp", "devid": "$devId"}';
|
||||
print(uri);
|
||||
@ -38,7 +38,7 @@ Future<String> getToken(
|
||||
|
||||
Future<String> getUserInfo(
|
||||
String user, String password, String otp, String devId) async {
|
||||
var uri = Uri.http("localhost:3000", "/api/userinfo");
|
||||
var uri = Uri.https("mein.cantorgymnasium.de", "/api/userinfo");
|
||||
String body =
|
||||
'{"user":"$user", "password": "$password", "otp": "$otp", "devid": "$devId"}';
|
||||
print(uri);
|
||||
|
Reference in New Issue
Block a user