diff --git a/packages/node/src/generators/application/application.spec.ts b/packages/node/src/generators/application/application.spec.ts index d26bcd5d2cf8f..d3af66f1d6ed3 100644 --- a/packages/node/src/generators/application/application.spec.ts +++ b/packages/node/src/generators/application/application.spec.ts @@ -323,8 +323,8 @@ describe('app', () => { expect(tree.exists('my-frontend/proxy.conf.json')).toBeTruthy(); expect(readJson(tree, 'my-frontend/proxy.conf.json')).toEqual({ - '/api': { target: 'http://localhost:3333', secure: false }, - '/billing-api': { target: 'http://localhost:3333', secure: false }, + '/api': { target: 'http://localhost:3000', secure: false }, + '/billing-api': { target: 'http://localhost:3000', secure: false }, }); }); diff --git a/packages/node/src/generators/application/application.ts b/packages/node/src/generators/application/application.ts index 698e4f25476dd..7c589b7de75ee 100644 --- a/packages/node/src/generators/application/application.ts +++ b/packages/node/src/generators/application/application.ts @@ -483,7 +483,7 @@ function normalizeOptions(host: Tree, options: Schema): NormalizedSchema { linter: options.linter ?? Linter.EsLint, unitTestRunner: options.unitTestRunner ?? 'jest', rootProject: options.rootProject ?? false, - port: options.port ?? 3333, + port: options.port ?? 3000, }; }