Skip to content

Commit 1fb212f

Browse files
committed
chore: make hidden paths consistent
1 parent 938bf9e commit 1fb212f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime/src/constants.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const HANDLER_FUNCTION_TITLE = 'Next.js SSR handler'
77
export const ODB_FUNCTION_TITLE = 'Next.js ISR handler'
88
export const IMAGE_FUNCTION_TITLE = 'next/image handler'
99
// These are paths in .next that shouldn't be publicly accessible
10-
1110
export const HIDDEN_PATHS = [
1211
'/cache',
1312
'/server',
@@ -27,7 +26,7 @@ export const HIDDEN_PATHS = [
2726
'/package.json',
2827
'/prerender-manifest.js',
2928
'/required-server-files.json',
30-
'static-manifest.json',
29+
'/static-manifest.json',
3130
]
3231

3332
export const ODB_FUNCTION_PATH = `/.netlify/builders/${ODB_FUNCTION_NAME}`

0 commit comments

Comments
 (0)