aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-14 04:39:34 -0400
committerAdam Soltys <[email protected]>2021-08-18 15:44:27 -0400
commit76a16fcb4de1ccb351fbc45e85ac174fc0718c25 (patch)
treea07ecc9822c39a999ce050fbb2e9129062aecfad /index.js
parentbf1c162f037bd59ee350c454c8e72359d2a1d5fc (diff)
downloadcoinos-server-76a16fcb4de1ccb351fbc45e85ac174fc0718c25.tar.gz
coinos-server-76a16fcb4de1ccb351fbc45e85ac174fc0718c25.zip
startup scripts
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js
index 44f41103..5017720a 100644
--- a/index.js
+++ b/index.js
@@ -93,6 +93,8 @@ app.use("/referrals", referralsRouter);
var adminRouter = require("./routes/admin.js");
app.use("/admin", adminAuth, adminRouter);
+require("./startup");
+
app.use((err, req, res, next) => {
const details = {
path: req.path,