This commit is contained in:
dmit.b
2026-07-05 12:42:04 +03:00
parent f011a121d7
commit 98cd704234
8 changed files with 81 additions and 69 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
class ApiConfig {
static String _baseUrl = 'https://family-safety.onrender.com/api';
static String _baseUrl = 'https://test';
static String get baseUrl => _baseUrl;
static void setBaseUrl(String url) {
static void setBaseUrl(String url){
_baseUrl = url.endsWith('/') ? url.substring(0, url.length - 1) : url;
}