fix(node): align proxy port with default api port (#15754)
This commit is contained in:
parent
ccf938af69
commit
a868bce63b
@ -338,8 +338,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:3000', secure: false },
|
||||
'/billing-api': { target: 'http://localhost:3000', secure: false },
|
||||
'/api': { target: 'http://localhost:3333', secure: false },
|
||||
'/billing-api': { target: 'http://localhost:3333', secure: false },
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@ -478,7 +478,7 @@ function normalizeOptions(host: Tree, options: Schema): NormalizedSchema {
|
||||
linter: options.linter ?? Linter.EsLint,
|
||||
unitTestRunner: options.unitTestRunner ?? 'jest',
|
||||
rootProject: options.rootProject ?? false,
|
||||
port: options.port ?? 3000,
|
||||
port: options.port ?? 3333,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user