Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
solid/nuxt: fix _server path returns 403
Browse files Browse the repository at this point in the history
closes #1107
  • Loading branch information
fwang committed Sep 21, 2024
1 parent cbb8674 commit 71da654
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions platform/src/components/aws/nuxt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions platform/src/components/aws/solid-start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 71da654

Please sign in to comment.