Skip to content

Commit 3611391

Browse files
committed
fix adapter
1 parent 541ff31 commit 3611391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@apphosting/adapter-nextjs/src/bin/build.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ metadata:
6565
outputFiles:
6666
serverApp:
6767
include:
68-
- ${outputBundleOptions.outputDirectoryAppPath}
68+
- .next/standalone
6969
`,
7070
};
7171
validateTestFiles(tmpDir, expectedFiles);

packages/@apphosting/adapter-nextjs/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ async function generateBundleYaml(
197197
if (!process.env.MONOREPO_COMMAND) {
198198
outputBundle.outputFiles = {
199199
serverApp: {
200-
include: [opts.outputDirectoryAppPath],
200+
include: [normalize(relative(cwd, opts.outputDirectoryAppPath))],
201201
},
202202
};
203203
}

0 commit comments

Comments
 (0)