fix: lower vulnerabilities + harden docker setup

also includes a github workflow
This commit is contained in:
2026-06-17 22:18:55 -04:00
parent 4f5ca9a069
commit d16f1f872f
16 changed files with 164 additions and 137 deletions
@@ -0,0 +1,12 @@
import { apiUrl } from '$lib/server/api';
import { json } from '@sveltejs/kit';
export const GET = async () => {
const res = await fetch(`${apiUrl}/health`);
if (!res.ok) {
return json({ status: 'unhealthy', backend: res.status }, { status: 503 });
}
return json({ status: 'ok' });
};