mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Readme update, and small log fix
This commit is contained in:
parent
989b761b0d
commit
a9235cc1b0
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
Question server
|
||||
|
||||
Install:
|
||||
npm install connect-busboy ejs express-layout querystring express
|
||||
npm install express connect-busboy ejs express-layout querystring express
|
||||
|
||||
some stuff maybe missing
|
||||
|
|
2
utils.js
2
utils.js
|
@ -36,7 +36,7 @@ function WriteFileAsync(content, path) {
|
|||
function AppendToFile(data, file) {
|
||||
fs.appendFile(file, "\n" + data, function(err) {
|
||||
if (err)
|
||||
logger.Log("[ERR ]: Error writing log file: " + path + " (sync)", logger.GetColor("redbg"));
|
||||
logger.Log("[ERR ]: Error writing log file: " + file + " (sync)", logger.GetColor("redbg"));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue