update app create config to accept libsql config directly

This commit is contained in:
dswbx
2025-02-12 09:21:51 +01:00
parent f466dd166d
commit 2c6a4d2bed
20 changed files with 59 additions and 100 deletions

View File

@@ -43,12 +43,9 @@ export const prerender = false;
export const ALL = serve({
connection: {
type: "libsql",
config: {
// location of your local Astro DB
// make sure to use a remote URL in production
url: "file:.astro/content.db"
}
// location of your local Astro DB
// make sure to use a remote URL in production
url: "file:.astro/content.db"
}
});
```