fixing ui not being shown

This commit is contained in:
Christian Kellner
2023-03-20 15:08:06 +01:00
parent f3cded7e5d
commit 75a536d5ab
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ import files from 'serve-static';
import path from 'path';
import { getDirName } from '../utils.js';
const service = restana();
const staticService = files(path.join(getDirName(), '../../ui/public'));
const staticService = files(path.join(getDirName(), '../ui/public'));
const PORT = config.port || 9998;
service.use(bodyParser.json());