fix: again

This commit is contained in:
Andras Bacsai 2022-08-27 11:42:51 +00:00
parent d7fd1fc65b
commit 2060619e5b

View File

@ -135,7 +135,10 @@
if (application.deploymentType === 'node' && application.port === '80') { if (application.deploymentType === 'node' && application.port === '80') {
application.port = data.port; application.port = data.port;
} }
if (!application.publishDirectory) { if (application.deploymentType === 'static' && !application.publishDirectory) {
application.publishDirectory = data.publishDirectory;
}
if (application.deploymentType === 'node' && application.publishDirectory === 'out') {
application.publishDirectory = data.publishDirectory; application.publishDirectory = data.publishDirectory;
} }
} }