mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 13:48:41 +00:00
update url
This commit is contained in:
parent
9485203383
commit
4e63f3ffed
1 changed files with 6 additions and 2 deletions
|
|
@ -24,9 +24,13 @@ import 'package:web_socket_channel/web_socket_channel.dart';
|
|||
/// It handles errors and does automatically tries to reconnect on
|
||||
/// errors or network changes.
|
||||
class ApiProvider {
|
||||
final String apiUrl = "ws://10.99.0.6:3030/api/client";
|
||||
final String apiUrl = kDebugMode
|
||||
? "ws://10.99.0.6:3030/api/client"
|
||||
: "wss://api.twonly.eu/api/client";
|
||||
// ws://api.twonly.eu/api/client
|
||||
final String? backupApiUrl = "ws://10.99.0.6:3030/api/client";
|
||||
final String? backupApiUrl = kDebugMode
|
||||
? "ws://10.99.0.6:3030/api/client"
|
||||
: "wss://api2.twonly.eu/api/client";
|
||||
bool isAuthenticated = false;
|
||||
ApiProvider();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue