Skip to content

Commit

Permalink
switch to node
Browse files Browse the repository at this point in the history
  • Loading branch information
dcschmid committed Aug 20, 2024
1 parent ff63cb7 commit c839a7e
Show file tree
Hide file tree
Showing 5 changed files with 5,157 additions and 9,216 deletions.
16 changes: 10 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ import playformCompress from "@playform/compress";
import db from "@astrojs/db";
import cloudflare from "@astrojs/cloudflare";

import node from "@astrojs/node";

// https://astro.build/config
export default defineConfig({
output: "server",
integrations: [icon(), playformCompress(), db()],
adapter: cloudflare(),
adapter: node({
mode: "standalone"
}),
vite: {
optimizeDeps: {
exclude: ["astro:db"],
},
exclude: ["astro:db"]
}
},
security: {
checkOrigin: true,
},
});
checkOrigin: true
}
});
Loading

0 comments on commit c839a7e

Please sign in to comment.