1
0
Fork 0
forked from svrjs/svrjs

Make "SVR.JS - a web server running on Node.JS" bold

This commit is contained in:
Dorian Niemiec 2024-03-17 21:23:25 +01:00
parent 155b808dbc
commit 98de0a31dc

2
svr.js
View file

@ -5025,7 +5025,7 @@ function start(init) {
if (init) { if (init) {
for (i = 0; i < logo.length; i++) console.log(logo[i]); // Print logo for (i = 0; i < logo.length; i++) console.log(logo[i]); // Print logo
console.log(); console.log();
console.log("Welcome to SVR.JS - a web server running on Node.JS"); console.log("Welcome to \x1b[1mSVR.JS - a web server running on Node.JS\x1b[0m");
// Print warnings // Print warnings
if (version.indexOf("Nightly-") === 0) serverconsole.locwarnmessage("This version is only for test purposes and may be unstable."); if (version.indexOf("Nightly-") === 0) serverconsole.locwarnmessage("This version is only for test purposes and may be unstable.");