im so tired man

This commit is contained in:
Wowieee4
2026-05-28 11:27:06 +07:00
parent 66da2473e1
commit 6272ece15d
86 changed files with 1759 additions and 4090 deletions
@@ -22,6 +22,9 @@ class AppConstants {
if (!cleaned.startsWith('http://') && !cleaned.startsWith('https://')) {
cleaned = 'http://$cleaned';
}
cleaned = cleaned
.replaceFirst('://localhost', '://127.0.0.1')
.replaceFirst('://0.0.0.0', '://127.0.0.1');
while (cleaned.endsWith('/')) {
cleaned = cleaned.substring(0, cleaned.length - 1);
}
@@ -61,7 +64,6 @@ class AppConstants {
await prefs.setString(_selectedYoloModelKey, path);
}
// Agora App ID tetap bisa dioverride saat build: --dart-define=AGORA_APP_ID=...
static const String agoraAppId = String.fromEnvironment('AGORA_APP_ID',
defaultValue: 'e36c2b6592e34cfda1f6ea6432a5e68d');
// Set at build time with: --dart-define=AGORA_APP_ID=your_app_id
static const String agoraAppId = String.fromEnvironment('AGORA_APP_ID');
}