mirror of
https://github.com/andwati/personal-website.git
synced 2026-11-28 13:38:46 +00:00
feat: Configure project for Cloudflare Workers deployment by adding wrangler.toml and updating the Nuxt Nitro preset.
This commit is contained in:
+1
-1
@@ -9,6 +9,6 @@ export default defineNuxtConfig({
|
|||||||
client: false,
|
client: false,
|
||||||
},
|
},
|
||||||
nitro: {
|
nitro: {
|
||||||
preset: "cloudflare-pages",
|
preset: "cloudflare",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
name = "personal-website"
|
||||||
|
main = "./.output/server/index.mjs"
|
||||||
|
compatibility_date = "2025-02-14"
|
||||||
|
|
||||||
|
[site]
|
||||||
|
bucket = "./.output/public"
|
||||||
Reference in New Issue
Block a user