diff --git a/public/default.html b/public/default.html
new file mode 100644
index 00000000..b42dba7a
--- /dev/null
+++ b/public/default.html
@@ -0,0 +1,128 @@
+
+
+
+
+ Dashy
+
+
+
+
+
+
+
+
+
+
+
+
Initializing
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server.js b/server.js
index 542a0ba6..bc9872ec 100644
--- a/server.js
+++ b/server.js
@@ -56,9 +56,16 @@ const overComplicatedMessage = (ip, port) => {
return msg;
}
+function send404(req, res) {
+ // send your 404 here
+ res.statusCode = 404
+ res.end('nothing here!')
+}
+
try {
connect()
.use(serveStatic(`${__dirname}/dist`))
+ .use(serveStatic(`${__dirname}/public`, { index: 'default.html' }))
.listen(port, () => {
try { printWelcomeMessage(port); }
catch (e) { console.log('Dashy is Starting...'); }