aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-20 22:51:15 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-20 22:51:15 -0600
commitd4b71f8dab86e95cd50f808fdbd2155f73e84469 (patch)
treeb4ea8ef8feb7d41cbd36f2aee69116911a684ecf /src/index.ts
parent31b2ae8af35378969497532b9cdb75f40472c316 (diff)
downloadskyblock-api-d4b71f8dab86e95cd50f808fdbd2155f73e84469.tar.gz
skyblock-api-d4b71f8dab86e95cd50f808fdbd2155f73e84469.tar.bz2
skyblock-api-d4b71f8dab86e95cd50f808fdbd2155f73e84469.zip
add debug stuff
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
index c0047ad..adeab57 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -3,6 +3,9 @@ import express from 'express'
const app = express()
+export const debug = false
+
+
app.use((req, res, next) => {
if (process.env.key && req.headers.key !== process.env.key)
// if a key is set in process.env and the header doesn't match return an error