This commit is contained in:
badblocks 2026-07-10 00:21:45 -07:00
parent 6e7977997e
commit bfb241c3eb
Signed by: badblocks
SSH key fingerprint: SHA256:hEcM6BP4hKm9F7WsomNuXSBpPn2BSDnFzPSl3y1NerQ
19 changed files with 284 additions and 181 deletions

View file

@ -1,9 +1,9 @@
import htmx from "astro-htmx";
// @ts-check
import { defineConfig, envField } from "astro/config";
import { defineConfig, sessionDrivers, envField } from "astro/config";
import alpinejs from "@astrojs/alpinejs";
import sitemap from "@astrojs/sitemap";
import bun from "@nurodev/astro-bun";
//import bun from "@nurodev/astro-bun"; //disable for now
import node from "@astrojs/node";
import db from "@astrojs/db";
@ -23,13 +23,11 @@ export default defineConfig({
prefetch: {
prefetchAll: true,
},
security: {
checkOrigin: false,
},
session: {
driver: "lru-cache",
ttl: 3600,
maxEntries: 1000,
driver: sessionDrivers.lruCache({
ttl: 3600,
maxEntries: 1000,
}),
},
server: {
host: true,
@ -61,8 +59,6 @@ export default defineConfig({
},
integrations: [alpinejs(), sitemap(), htmx(), db()],
experimental: {
preserveScriptOrder: true,
chromeDevtoolsWorkspace: true,
failOnPrerenderConflict: true,
},
});