aboutsummaryrefslogtreecommitdiffstats
path: root/core/pref.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/pref.c')
-rw-r--r--core/pref.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pref.c b/core/pref.c
index 61619c0d1..6be6fe6ee 100644
--- a/core/pref.c
+++ b/core/pref.c
@@ -1,10 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
#include "pref.h"
#include "subsurface-string.h"
+#include "git-access.h" // for CLOUD_HOST
struct preferences prefs, git_prefs;
struct preferences default_prefs = {
- .cloud_base_url = "https://cloud.subsurface-divelog.org/",
+ .cloud_base_url = "https://" CLOUD_HOST_EU "/", // if we don't know any better, use the European host
.units = SI_UNITS,
.unit_system = METRIC,
.coordinates_traditional = true,