aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/routes/+layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/routes/+layout.svelte')
-rw-r--r--frontend/src/routes/+layout.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte
index 9ed74ce..8dbfcda 100644
--- a/frontend/src/routes/+layout.svelte
+++ b/frontend/src/routes/+layout.svelte
@@ -8,7 +8,7 @@
onMount(async () => {
try {
- const res = await fetch('http://localhost:8080/api/active-maintenance');
+ const res = await fetch('/api/active-maintenance');
if (res.ok) {
const data = await res.json();
maintenance = data.maintenance ?? null;