From 71da654ef09f31210b197976f4c2bb7ce3bf878a Mon Sep 17 00:00:00 2001 From: Frank Date: Sat, 21 Sep 2024 00:15:24 -0400 Subject: [PATCH] solid/nuxt: fix _server path returns 403 closes #1107 --- platform/src/components/aws/nuxt.ts | 6 ++++++ platform/src/components/aws/solid-start.ts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/platform/src/components/aws/nuxt.ts b/platform/src/components/aws/nuxt.ts index 60d6b1567..05723baab 100644 --- a/platform/src/components/aws/nuxt.ts +++ b/platform/src/components/aws/nuxt.ts @@ -489,6 +489,12 @@ export class Nuxt extends Component implements Link.Linkable { cfFunction: "serverCfFunction", origin: "server", }, + { + pattern: "_server/", + cacheType: "server", + cfFunction: "serverCfFunction", + origin: "server", + }, { pattern: "*", cacheType: "server", diff --git a/platform/src/components/aws/solid-start.ts b/platform/src/components/aws/solid-start.ts index 35d5a8982..e293c91e8 100644 --- a/platform/src/components/aws/solid-start.ts +++ b/platform/src/components/aws/solid-start.ts @@ -498,6 +498,12 @@ export class SolidStart extends Component implements Link.Linkable { cfFunction: "serverCfFunction", origin: "server", }, + { + pattern: "_server/", + cacheType: "server", + cfFunction: "serverCfFunction", + origin: "server", + }, { pattern: "*", cacheType: "server",