formatting -- webserver/server.js

This commit is contained in:
Michael Bradley, Jr 2018-08-31 15:02:05 -05:00
parent 52ed0e2856
commit 9cd96ddd29
1 changed files with 2 additions and 3 deletions

View File

@ -19,8 +19,8 @@ class Server {
start(callback) {
if (this.server && this.server.listening) {
let message = __("a webserver is already running at") + " " +
("http://" + canonicalHost(this.hostname) +
":" + this.port).bold.underline.green;
("http://" + canonicalHost(this.hostname) +
":" + this.port).bold.underline.green;
return callback(null, message);
}
let serve = serveStatic(this.buildDir, {'index': ['index.html', 'index.htm']});
@ -74,7 +74,6 @@ class Server {
callback(null, __("Webserver stopped"));
});
}
}
module.exports = Server;