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());

View File

@@ -1,6 +1,6 @@
{
"name": "fredy",
"version": "7.1.0",
"version": "7.1.1",
"description": "[F]ind [R]eal [E]states [d]amn eas[y].",
"scripts": {
"start": "node index.js",