aboutsummaryrefslogtreecommitdiff
path: root/lolisafe.js
diff options
context:
space:
mode:
Diffstat (limited to 'lolisafe.js')
-rw-r--r--lolisafe.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lolisafe.js b/lolisafe.js
index fdc7769..2e9135d 100644
--- a/lolisafe.js
+++ b/lolisafe.js
@@ -30,4 +30,7 @@ safe.use(function (err, req, res, next) {
res.status(500).end()
})
-safe.listen(config.port, () => console.log(`loli-safe started on port ${config.port}`)) \ No newline at end of file
+safe.listen(config.port, () => console.log(`loli-safe started on port ${config.port}`))
+
+if(config.TOKEN !== '') console.log('Use the following token as the \'auth\' header in your requests to the API: ' + config.TOKEN)
+else console.log('Running lolisafe in public mode. No token required.') \ No newline at end of file