Skip to content

Commit

Permalink
fix(angular): correctly assign env var (#13549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Dec 1, 2022
1 parent 59a6a9e commit 6e8a1c6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -97,7 +97,7 @@ export function executeModuleFederationDevSSRBuilder(
{ stdio: 'inherit' }
);
const child = fork(remoteServerOutput, {
env: remoteProject.targets['serve-ssr'].options.port,
env: { PORT: remoteProject.targets['serve-ssr'].options.port },
});
child.on('message', (msg) => {
if (msg === 'nx.server.ready') {
Expand Down

0 comments on commit 6e8a1c6

Please sign in to comment.