1<h1>weimar</h1>
2<p>Loading...</p>
3
4<script>
5 import { onMount } from 'svelte';
6
7 onMount(async () => {
8 const res = await fetch('/api/health');
9 const data = await res.json();
10 document.querySelector('p').textContent = 'Status: ' + data.status;
11 });
12</script>