Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/cloudflare/src/cli/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ export type Config = {
* @returns The configuration, see `Config`
*/
export function getConfig(projectOpts: ProjectOptions): Config {
const sourceDirDotNext = join(projectOpts.sourceDir, ".next");
const dotNext = join(projectOpts.outputDir, ".next");
const appPath = getNextjsApplicationPath(dotNext).replace(/\/$/, "");
const appPath = getNextjsApplicationPath(sourceDirDotNext).replace(/\/$/, "");
const standaloneRoot = join(dotNext, "standalone");
const standaloneApp = join(standaloneRoot, appPath);
const standaloneAppDotNext = join(standaloneApp, ".next");
Expand Down