aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-08-18 08:42:44 -0700
committerAdam Soltys <[email protected]>2014-08-18 08:42:44 -0700
commit722825386a47c85190013b1aa47050bdaae61077 (patch)
treea2933a91c881ea14737e9a7df85f5d919eb611b3 /app.js
parent29db9e09f36f492bc02a64f56f756c21fdcc5037 (diff)
downloadcoinos-server-722825386a47c85190013b1aa47050bdaae61077.tar.gz
coinos-server-722825386a47c85190013b1aa47050bdaae61077.zip
Fetch rates
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index 0e821900..59bb3c54 100644
--- a/app.js
+++ b/app.js
@@ -99,6 +99,8 @@
return setTimeout(fetchRates, 120000);
};
+ fetchRates();
+
app.get('/', cache, sessions["new"]);
app.get('/register', cache, users["new"]);