aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarsVomMars2020-10-10 12:20:22 +0200
committerLarsVomMars2020-10-10 12:20:22 +0200
commit2432d4f5f79638d62e663c7abebdfa3f1405acb5 (patch)
treebfaa8dfa400e5ea948450924f83e56aa2962268f
parent8377cd9881167dcde40f0947c623ddbb64120747 (diff)
AHH
-rw-r--r--app.js2
-rw-r--r--package.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/app.js b/app.js
index 442ac13..5ddfdb7 100644
--- a/app.js
+++ b/app.js
@@ -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"
}