Skip to content

Commit 5c58de9

Browse files
committed
fix(vercel): prefix o11y routes with baseURL
1 parent 4b28c70 commit 5c58de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/presets/vercel/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function generateBuildConfig(nitro: Nitro, o11Routes?: ObservabilityRoute[]) {
232232
: []),
233233
// Observability routes
234234
...(o11Routes || []).map((route) => ({
235-
src: route.src,
235+
src: joinURL(nitro.options.baseURL, route.src),
236236
dest: "/" + route.dest,
237237
})),
238238
// If we are using an ISR function as a fallback

0 commit comments

Comments
 (0)