all repos — weimar @ 28e896519b8b6466fbb9a904b18002993c823f76

Unnamed repository; edit this file 'description' to name the repository.

web/src/routes/+page.svelte (view raw)

 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>