store dto from initial apibuilder

fix existence check of pkg add
This commit is contained in:
2024-02-11 23:05:39 +01:00
parent a6e226c006
commit 9ecbc8a77a
11 changed files with 17 additions and 10 deletions

View File

@ -3,7 +3,7 @@ import 'package:flutter/foundation.dart';
class ApiClient {
static const String _apiBase =
kDebugMode ? "http://localhost:8081/api" : "api";
kDebugMode ? "https://aurcache.heili.eu/api" : "api";
final Dio _dio = Dio(BaseOptions(baseUrl: _apiBase));
String? token;