We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ba00c commit 8f4d04eCopy full SHA for 8f4d04e
packages/start-static-server-functions/src/staticFunctionMiddleware.ts
@@ -116,7 +116,9 @@ const fetchItem = async ({
116
117
let result: any = staticClientCache?.get(url)
118
119
- result = await fetch(url, {
+ const basePath = process.env.TSS_ROUTER_BASEPATH!
120
+ const prefixedUrl = path.join(basePath, url)
121
+ result = await fetch(prefixedUrl, {
122
method: 'GET',
123
})
124
.then((r) => r.json())
0 commit comments