From e7844d3f603add757b0a564204eba09e80c6dcab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=89=E9=87=8E=E6=95=AC=E5=A4=AA=E9=83=8E?= Date: Tue, 17 Sep 2024 08:31:52 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20adapter=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.mjs | 6 +++++- functions/_routes.json | 5 ----- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 functions/_routes.json diff --git a/astro.config.mjs b/astro.config.mjs index 007fb05..bf1b2f7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -22,7 +22,11 @@ export default defineConfig({ adapter: cloudflare({ mode: "directory", functionPerRoute: true, - imageService: "compile", + routes: { + extend: { + include: [{ pattern: "/*" }], + }, + }, }), build: { inlineStylesheets: "auto", diff --git a/functions/_routes.json b/functions/_routes.json deleted file mode 100644 index 55e77a8..0000000 --- a/functions/_routes.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 1, - "include": ["/*"], - "exclude": [] -}