aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app.js b/app.js
index 5f381065..cc79d0cc 100644
--- a/app.js
+++ b/app.js
@@ -113,6 +113,11 @@
app.get('/ticker', cache, calculator.ticker);
+ app.get('/token', cache, function(req, res) {
+ res.write(config.blockcypher_token);
+ return res.end();
+ });
+
app.get('/tips', cache, function(req, res) {
return res.render('tips', {
notice: true,