Change default Bee URL from 10.77.0.1 to 192.168.0.10 (factory AP IP)
This commit is contained in:
parent
82ae988264
commit
a20e510f44
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ import java.security.MessageDigest
|
|||
private val Context.dataStore: DataStore<Preferences> by preferencesDataStore(name = "varroa_settings")
|
||||
|
||||
data class VarroaSettings(
|
||||
val beeApiUrl: String = "http://10.77.0.1:5000",
|
||||
val beeApiUrl: String = "http://192.168.0.10:5000",
|
||||
val adamapsApiUrl: String = "https://api.adamaps.org",
|
||||
val adamapsApiKey: String = "adamaps-ingest-2026",
|
||||
val pollIntervalSeconds: Int = 30,
|
||||
|
|
@ -60,7 +60,7 @@ class SettingsDataStore(private val context: Context) {
|
|||
|
||||
val settings: Flow<VarroaSettings> = context.dataStore.data.map { prefs ->
|
||||
VarroaSettings(
|
||||
beeApiUrl = prefs[KEY_BEE_URL] ?: "http://10.77.0.1:5000",
|
||||
beeApiUrl = prefs[KEY_BEE_URL] ?: "http://192.168.0.10:5000",
|
||||
adamapsApiUrl = prefs[KEY_ADAMAPS_URL] ?: "https://api.adamaps.org",
|
||||
adamapsApiKey = prefs[KEY_ADAMAPS_KEY] ?: "adamaps-ingest-2026",
|
||||
pollIntervalSeconds = prefs[KEY_POLL_INTERVAL] ?: 30,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue