diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-18 10:58:34 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-18 10:58:34 +0000 |
| commit | fcb297637d49e1c53503f1d051639900a219c25f (patch) | |
| tree | 667e08ee6f34da6770a81d6f56ac073e3533119c /website | |
| parent | 781af6414e9299fcb16947f39fe972d02062def3 (diff) | |
adds --remote to build command
Diffstat (limited to 'website')
| -rw-r--r-- | website/astro.config.mjs | 3 | ||||
| -rw-r--r-- | website/db/config.ts | 5 | ||||
| -rw-r--r-- | website/db/seed.ts | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/website/astro.config.mjs b/website/astro.config.mjs index f1fc430..634da18 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -1,4 +1,5 @@ import { defineConfig, envField } from "astro/config"; +import db from "@astrojs/db"; import mdx from "@astrojs/mdx"; import node from "@astrojs/node"; @@ -15,5 +16,5 @@ export default defineConfig({ }, }, site: "https://joeac.net", - integrations: [mdx(), sitemap()], + integrations: [db(), mdx(), sitemap()], }); diff --git a/website/db/config.ts b/website/db/config.ts new file mode 100644 index 0000000..aa0408c --- /dev/null +++ b/website/db/config.ts @@ -0,0 +1,5 @@ +import { defineDb } from "astro:db"; + +export default defineDb({ + tables: {}, +}); diff --git a/website/db/seed.ts b/website/db/seed.ts new file mode 100644 index 0000000..fb50478 --- /dev/null +++ b/website/db/seed.ts @@ -0,0 +1,3 @@ +import { db } from "astro:db"; + +export default async function seed() {} |
