chore: update for cloudflare
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import astroIcon from "astro-icon"
|
||||
|
||||
import node from "@astrojs/node";
|
||||
import cloudflare from '@astrojs/cloudflare';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
@@ -12,7 +11,5 @@ export default defineConfig({
|
||||
server: {
|
||||
host: '0.0.0.0'
|
||||
},
|
||||
adapter: node({
|
||||
mode: "standalone",
|
||||
}),
|
||||
adapter: cloudflare(),
|
||||
});
|
||||
|
||||
1094
package-lock.json
generated
1094
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@
|
||||
"start": "node ./dist/server/entry.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^9.3.3",
|
||||
"@astrojs/cloudflare": "^12.6.5",
|
||||
"@tailwindcss/vite": "^4.1.11",
|
||||
"astro": "^5.12.8",
|
||||
"astro-icon": "^1.1.5",
|
||||
|
||||
Reference in New Issue
Block a user