From cf8b9ff4920f7b1fe1dd0d6d6d4a79c7f30e90b1 Mon Sep 17 00:00:00 2001 From: andwati Date: Sat, 14 Feb 2026 15:59:34 +0300 Subject: [PATCH] feat: Configure project for Cloudflare Workers deployment by adding `wrangler.toml` and updating the Nuxt Nitro preset. --- nuxt.config.ts | 2 +- wrangler.toml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 wrangler.toml diff --git a/nuxt.config.ts b/nuxt.config.ts index 3f358a6..9663646 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -9,6 +9,6 @@ export default defineNuxtConfig({ client: false, }, nitro: { - preset: "cloudflare-pages", + preset: "cloudflare", }, }); diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..2b91b4b --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,6 @@ +name = "personal-website" +main = "./.output/server/index.mjs" +compatibility_date = "2025-02-14" + +[site] +bucket = "./.output/public"