Initial commit: Nosterm client (terminal-style Nostr chat SPA)
ci / build (push) Successful in 1m3s
ci / image (push) Successful in 41s

This commit is contained in:
Robert Goodall
2026-07-24 13:47:53 -04:00
commit cd2b900639
147 changed files with 16504 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
// Client-only SPA: prerender the shell, fall back to it for all routes.
adapter: adapter({
fallback: 'index.html'
}),
prerender: {
entries: ['*']
}
// CSP is served by Caddy (see Caddyfile): this is a client-only SPA served
// from a static fallback page, which is not prerendered, so SvelteKit's
// build-time CSP hashing does not apply here.
}
};
export default config;