Bake PUBLIC_SSR into the build instead of reading it at runtime

This commit is contained in:
dtonon 2026-08-18 22:31:56 +01:00
parent 3b79271874
commit 7f0d823d6c
4 changed files with 20 additions and 7 deletions

3
src/app.d.ts vendored
View file

@ -9,6 +9,9 @@ import type {
import type { ThreadDetail } from "$lib/forum/thread";
declare global {
// Injected by vite.config.ts from PUBLIC_SSR
const __SQUALK_SSR__: boolean;
namespace App {
// interface Error {}
// interface Locals {}