fix(node): use consistent default port (#16491)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
This commit is contained in:
parent
555cacd87d
commit
3d5b849826
@ -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 },
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user