aws ubuntu layout

This commit is contained in:
Jan Prochazka
2024-10-18 13:57:55 +02:00
parent adfc427d25
commit c38fe83e48
2 changed files with 3 additions and 0 deletions

View File

@@ -73,6 +73,8 @@ function start() {
if (platformInfo.isDocker) {
// server static files inside docker container
app.use(getExpressPath('/'), express.static('/home/dbgate-docker/public'));
} else if (platformInfo.isAwsUbuntuLayout) {
app.use(getExpressPath('/'), express.static('/home/ubuntu/build/public'));
} else if (platformInfo.isNpmDist) {
app.use(getExpressPath('/'), express.static(path.join(__dirname, '../../dbgate-web/public')));
} else if (process.env.DEVWEB) {