Skip to content

Commit

Permalink
fixing ui not being shown
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kellner authored and Christian Kellner committed Mar 20, 2023
1 parent f3cded7 commit 75a536d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 75a536d

Please sign in to comment.