Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit ec3fccc

Browse files
committed
🐛 fix(server-handler): fixed wrong path of server-handler and cleaned unused zip version
1 parent 4a9470f commit ec3fccc

File tree

5 files changed

+4
-348
lines changed

5 files changed

+4
-348
lines changed

Diff for: lib/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ program
3232
.option(
3333
'--handlerPath <path>',
3434
'Path to custom handler to be used to handle ApiGw events. By default this is provided for you.',
35-
path.resolve(path.dirname(__filename), './server-handler.js'),
35+
path.resolve(path.dirname(__filename), './server-handler/index.js'),
3636
)
3737
.option(
3838
'--outputFolder <path>',

Diff for: lib/consts.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
import path from 'path'
2-
3-
export const serverHandlerZipPath = path.resolve(__dirname, './server-handler.zip')
41
export const nextServerConfigRegex = /(?<=conf: )(.*)(?=,)/

Diff for: lib/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
export { serverHandlerZipPath } from './consts'
2-
31
export { handler as serverHandler } from './server-handler'
42

53
export { NextStandaloneStack } from './cdk/stack'

0 commit comments

Comments
 (0)