first commit
This commit is contained in:
21
demos/postgres/astro.config.mjs
Normal file
21
demos/postgres/astro.config.mjs
Normal file
@@ -0,0 +1,21 @@
|
||||
import node from "@astrojs/node";
|
||||
import react from "@astrojs/react";
|
||||
import { defineConfig } from "astro/config";
|
||||
import emdash from "emdash/astro";
|
||||
import { postgres } from "emdash/db";
|
||||
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
adapter: node({
|
||||
mode: "standalone",
|
||||
}),
|
||||
integrations: [
|
||||
react(),
|
||||
emdash({
|
||||
database: postgres({
|
||||
connectionString: process.env.DATABASE_URL || "postgres://localhost:5432/emdash_dev",
|
||||
}),
|
||||
}),
|
||||
],
|
||||
devToolbar: { enabled: false },
|
||||
});
|
||||
Reference in New Issue
Block a user