File path fixes

This commit is contained in:
YourFriendlyNeighborhoodDealer 2019-08-14 12:30:02 +02:00
parent 2816347cbd
commit e0b9d4e09f
7 changed files with 19 additions and 17 deletions

View file

@ -14,10 +14,10 @@ var fs = require('fs')
var logger = require('../utils/logger.js')
const recievedFile = '../stats/recieved'
const manFile = '../public/man.html'
const logFile = '../stats/logs'
const dataFile = '../public/data.json'
const recievedFile = './stats/recieved'
const manFile = './public/man.html'
const logFile = './stats/logs'
const dataFile = './public/data.json'
function ReadFile (name) {
if (!FileExists(name)) { throw 'No such file: ' + name }