Skip to content

Commit

Permalink
Fix load.json Path in index
Browse files Browse the repository at this point in the history
Fixes #128
  • Loading branch information
schiavi-siae committed Nov 13, 2023
1 parent 814cc0b commit 77c630a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const cp = require('./service/individualServices/CyclicProcessService/cyclicProcess');
//const cp = require('./service/individualServices/CyclicProcessService/cyclicProcess');

'use strict';

Expand Down Expand Up @@ -27,8 +27,8 @@ var app = expressAppConfig.getApp();
appCommons.setupExpressApp(app);

//TO FIX!
global.databasePath ='d:/Working/VSCode/MacAddressTableRecorder/server/database/load.json'
//global.databasePath = './database/load.json'
//global.databasePath ='d:/Working/VSCode/MacAddressTableRecorder/server/database/load.json'
global.databasePath = './database/load.json'

prepareElasticsearch().catch(err => {
console.error(`Error preparing Elasticsearch : ${err}`);
Expand Down

0 comments on commit 77c630a

Please sign in to comment.