mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
File path fixes
This commit is contained in:
parent
2816347cbd
commit
e0b9d4e09f
7 changed files with 19 additions and 17 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue