diff --git a/app.js b/app.js index e6a9f791..1c070f46 100644 --- a/app.js +++ b/app.js @@ -8,10 +8,6 @@ const port = 8000; app.use("/", express.static("public")); -app.get("/", (req, res) => { - res.sendFile(path.join(__dirname, "index.html")); -}); - app.listen(port, () => { console.log(`Example app listening on port ${port}`); }); diff --git a/package.json b/package.json index f07ec1ed..61e49e06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,8 @@ { - "dependencies": { - "express": "^4.19.2", - "serve-favicon": "^2.5.0" - } + "dependencies": { + "express": "^4.19.2" + }, + "scripts": { + "start": "node app.js" + } } diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 00000000..f7670db5 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html index a45fd10c..dbde9453 100644 --- a/public/index.html +++ b/public/index.html @@ -3,36 +3,19 @@ - + - LittleLink - + fekie's link page + - + - - - - - - - - - - + @@ -44,24 +27,6 @@
- - @@ -83,25 +48,11 @@ fekie.08
- - - - - - - - - -

Footer WIP

- -