Skip to content

Commit

Permalink
fix(nextjs): use start command for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Jan 9, 2025
1 parent 1074b1a commit a9bd760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/src/generators/application/lib/add-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ async function getNextE2EWebServerInfo(
{
plugin: '@nx/next/plugin',
serveTargetName: 'devTargetName',
serveStaticTargetName: 'serveStaticTargetName',
serveStaticTargetName: 'startTargetName',
configFilePath,
},
{
defaultServeTargetName: defaultServeTarget,
defaultServeStaticTargetName: 'serve-static',
defaultServeStaticTargetName: 'start',
defaultE2EWebServerAddress: `http://127.0.0.1:${e2ePort}`,
defaultE2ECiBaseUrl: `http://localhost:${e2ePort}`,
defaultE2EPort: e2ePort,
Expand Down

0 comments on commit a9bd760

Please sign in to comment.