first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
import cloudflare from "@astrojs/cloudflare";
|
||||
import react from "@astrojs/react";
|
||||
|
||||
export default defineConfig({
|
||||
|
||||
integrations: [react()],
|
||||
// ⚠️ 上線前改咗呢個做你嘅真域名(sitemap、canonical、OG 全部靠佢)
|
||||
site: "https://example.com",
|
||||
|
||||
output: "static",
|
||||
|
||||
adapter: cloudflare({
|
||||
platformProxy: {
|
||||
enabled: true,
|
||||
// 本機 astro dev 時讀 wrangler.jsonc 嘅 bindings
|
||||
configPath: "./wrangler.jsonc",
|
||||
},
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user