Update server.js

This commit is contained in:
Luis Fernando Molina committed 2020-02-22 19:21:23 +01:00
1 parent b7a929bca0
commit 5d4d88465d
1 file changed
+2 -2
+2 -2
View File
@@ -339,7 +339,7 @@ function onBrowserRequest (request, response) {
let fs = require('fs')
try {
let filePath = process.env.INTER_PROCESS_FILES_PATH + '/AppSchema.json'
let filePath = './AppSchema.json'
fs.readFile(filePath, onFileRead)
} catch (e) {
console.log('[ERROR] Error reading the App Schema.', e)
@@ -361,7 +361,7 @@ function onBrowserRequest (request, response) {
let fs = require('fs')
try {
let filePath = process.env.INTER_PROCESS_FILES_PATH + '/Workspace.json'
let filePath = './Workspace.json'
fs.readFile(filePath, onFileRead)
} catch (e) {
console.log('[ERROR] Error reading the Workspace.', e)