diff --git a/src/components/progress-table.svelte b/src/components/progress-table.svelte
index 28bfa2f..4c46317 100644
--- a/src/components/progress-table.svelte
+++ b/src/components/progress-table.svelte
@@ -62,7 +62,7 @@
{entry.id}
{entry.name}
diff --git a/src/index.html b/src/index.html
index 3f13228..fd62144 100644
--- a/src/index.html
+++ b/src/index.html
@@ -13,7 +13,7 @@
diff --git a/src/server.ts b/src/server.ts
index 7b235d5..7726804 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -37,9 +37,8 @@ Bun.serve({
if (!isLoggedIn(req)) return unauthorizedResp();
const data = await ptApi.query();
- return new Response(JSON.stringify(data), {
- headers: { 'Content-Type': 'application/json', 'Cache-Control': 'max-age=30' },
- });
+ const body = JSON.stringify(data);
+ return new Response(body, { headers: { 'Content-Type': 'application/json' } });
},
},
'/auth/logout': {
@@ -97,6 +96,7 @@ Bun.serve({
},
},
development,
+ reusePort: true,
// async fetch(req, server) {
// return new Response("Not found", { status: 404 });
// },