aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
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 /app.js
parent1e7eb384be681e69f33c11e8a0ec9b9751b084c0 (diff)
downloadcoinos-server-4b7a8754512a6965570482d330865190a6320e9d.tar.gz
coinos-server-4b7a8754512a6965570482d330865190a6320e9d.zip
Get wallet balance
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,