fix upgrade
This commit is contained in:
parent
1f185316a9
commit
05eba7cba2
@ -192,7 +192,7 @@ class _MyHomePageState extends State<MyHomePage> with ShowErrorDialog {
|
||||
),
|
||||
Text(
|
||||
'$listUser',
|
||||
style: Theme.of(context).textTheme,
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -12,7 +12,6 @@ mixin ShowErrorDialog<T extends StatefulWidget> on State<T> {
|
||||
ElevatedButton(
|
||||
child: Text("OK"),
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Colors.red,
|
||||
padding: EdgeInsets.symmetric(horizontal: 50, vertical: 20),
|
||||
textStyle:
|
||||
TextStyle(fontSize: 15, fontWeight: FontWeight.normal)),
|
||||
|
@ -127,7 +127,7 @@ class _LoginDemoState extends State<LoginDemo> with ShowErrorDialog {
|
||||
var jwt = prefs.getString("jwt") ?? "";
|
||||
var user = prefs.getString("user") ?? "";
|
||||
if ((jwt.isNotEmpty) && (user.isNotEmpty)) {
|
||||
var urlToken = Uri.parse("http://${globals.api}/token");
|
||||
var urlToken = Uri.parse("https://${globals.api}/token");
|
||||
|
||||
var responseToken = await http.get(urlToken,
|
||||
headers: {HttpHeaders.cookieHeader: '${jwt}; ${user}'});
|
||||
|
@ -1 +1 @@
|
||||
String api = "10.0.2.2:8083/api";
|
||||
String api = "backend.valczeryba.ovh";
|
||||
|
Loading…
x
Reference in New Issue
Block a user