Initial independent version of CrAPP

This commit is contained in:
Ivan Cacciari
2026-08-06 08:36:47 +02:00
commit 330669176d
167 changed files with 24096 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { createFileRoute } from "@tanstack/react-router";
export const Route = createFileRoute("/api/public/push-config")({
server: {
handlers: {
GET: async () => {
const publicKey = process.env["VAPID_PUBLIC_KEY"] ?? null;
return Response.json({ publicKey });
},
},
},
});