Skip to content

Commit

Permalink
fix(angular): correctly assign env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Dec 1, 2022
1 parent 59a6a9e commit 41883e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 41883e0

Please sign in to comment.