aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.coffee b/src/app.coffee
index 554ef303..caab1bcb 100644
--- a/src/app.coffee
+++ b/src/app.coffee
@@ -67,6 +67,10 @@ app.get('/address', cache, calculator.address)
app.get('/register', cache, users.new)
app.get('/sweep', calculator.sweep)
app.get('/ticker', cache, calculator.ticker)
+app.get('/token', cache, (req, res) ->
+ res.write(config.blockcypher_token)
+ res.end()
+)
app.get('/tips', cache, (req, res) ->
res.render('tips',
notice: true,