mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 09:50:24 +00:00
More prettier missing files
This commit is contained in:
@@ -38,9 +38,8 @@ function requested_change(type, string, channel) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("Mail is not configured and wont work");
|
|
||||||
console.log(
|
console.log(
|
||||||
"Seems you forgot to create a mailconfig.js in /server/config/. Have a look at the mailconfig.example.js."
|
"(!) Missing file - /config/mailconfig.js Have a look at /config/mailconfig.example.js. "
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2339,9 +2339,8 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("Mail is not configured and wont work");
|
|
||||||
console.log(
|
console.log(
|
||||||
"Seems you forgot to create a mailconfig.js in /server/config/. Have a look at the mailconfig.example.js."
|
"(!) Missing file - /config/mailconfig.js Have a look at /config/mailconfig.example.js. "
|
||||||
);
|
);
|
||||||
router.route("/api/mail").post(function(req, res) {
|
router.route("/api/mail").post(function(req, res) {
|
||||||
console.log(
|
console.log(
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ try {
|
|||||||
analytics = google.analytics;
|
analytics = google.analytics;
|
||||||
adsense = google.adsense;
|
adsense = google.adsense;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("No analytics-id found");
|
console.log(
|
||||||
|
"(!) Missing file - /config/google.js Have a look at /config/google.example.js. This is for google analytics."
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user