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:
@@ -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"));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user