Skip to content

Commit 5ebf038

Browse files
committed
feat: add edge functions path location
1 parent 6f17c52 commit 5ebf038

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/helpers/constants.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ export const TASK_DIR = process.cwd()
77

88
export const BUILD_DIR = `${TASK_DIR}/.netlify/.next`
99

10-
export const FUNCTIONS_INTERNAL_DIR = `${TASK_DIR}/.netlify/functions-internal`
11-
export const FUNCTIONS_URL = '/.netlify/functions'
10+
export const FUNCTIONS_DIR = `${TASK_DIR}/.netlify/functions-internal`
11+
export const EDGE_FUNCTIONS_DIR = `${TASK_DIR}/.netlify/edge-functions`
1212

1313
export const SERVER_HANDLER_NAME = '___netlify-server-handler'
14-
export const SERVER_HANDLER_DIR = `${FUNCTIONS_INTERNAL_DIR}/${SERVER_HANDLER_NAME}`
15-
export const SERVER_HANDLER_URL = `${FUNCTIONS_URL}/${SERVER_HANDLER_NAME}`
14+
export const SERVER_HANDLER_DIR = `${FUNCTIONS_DIR}/${SERVER_HANDLER_NAME}`

0 commit comments

Comments
 (0)