aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2015-11-13 08:19:22 -0800
committerAdam Soltys <[email protected]>2015-11-13 09:00:52 -0800
commit4b7a8754512a6965570482d330865190a6320e9d (patch)
treee98723e8eff234f10e55d581ed41db51f4f740cd /src
parent1e7eb384be681e69f33c11e8a0ec9b9751b084c0 (diff)
downloadcoinos-server-4b7a8754512a6965570482d330865190a6320e9d.tar.gz
coinos-server-4b7a8754512a6965570482d330865190a6320e9d.zip
Get wallet balance
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,