diff options
author | LarsVomMars | 2020-10-10 12:20:22 +0200 |
---|---|---|
committer | LarsVomMars | 2020-10-10 12:20:22 +0200 |
commit | 2432d4f5f79638d62e663c7abebdfa3f1405acb5 (patch) | |
tree | bfaa8dfa400e5ea948450924f83e56aa2962268f | |
parent | 8377cd9881167dcde40f0947c623ddbb64120747 (diff) |
AHH
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | package.json | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -3,7 +3,6 @@ const express = require("express"); const session = require("express-session"); const { auth, checkUser } = require("./auth"); -const motto = require("./motto"); const mottovote = require("./mottovote"); const quotes = require("./quotes"); const poll = require("./poll"); @@ -28,7 +27,6 @@ app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.use("/", express.static(__dirname + "/overview/public")); -app.use("/motto", checkUser, motto); app.use("/mottovote", checkUser, mottovote); app.use("/quotes", checkUser, quotes); app.use("/poll", checkUser, poll); diff --git a/package.json b/package.json index aa8849a..5e5a835 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ }, "scripts": { "format": "prettier --write \"*.{html,css,js}\"", + "lint": "eslint .", "run": "node app.js", "dev": "nodemon app.js" } |