Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit 24e9db3

Browse files
committed
fix: api redirect
1 parent c44ae77 commit 24e9db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
88

99
[[redirects]]
10-
from = "/api"
11-
to = "https://shared-tw.herokuapp.com"
10+
from = "/api/*"
11+
to = "https://shared-tw.herokuapp.com/:splat"
1212
status = 200
1313
force = true
1414
headers = {X-From = "Netlify"}

0 commit comments

Comments
 (0)