diff options
| author | Adam Soltys <[email protected]> | 2012-11-29 22:14:22 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-11-29 22:14:22 -0800 |
| commit | a189adff41fbc3a95ba8da982a757bd4649a60f6 (patch) | |
| tree | 1d98d45c6547fd8fa3d7ee84b58d6441485ab162 | |
| parent | 706ee79e8410a4f7944ac494e1b7ec977ce3c033 (diff) | |
| download | coinos-server-a189adff41fbc3a95ba8da982a757bd4649a60f6.tar.gz coinos-server-a189adff41fbc3a95ba8da982a757bd4649a60f6.zip | |
Remove config file
| -rw-r--r-- | app.coffee | 4 | ||||
| -rw-r--r-- | config.js.sample | 10 | ||||
| -rw-r--r-- | views/index.html | 2 |
3 files changed, 3 insertions, 13 deletions
@@ -5,7 +5,6 @@ engines = require('consolidate') passport = require('passport') bcrypt = require('bcrypt') db = require("redis").createClient() -config = require('./config') app = express() LocalStrategy = require('passport-local').Strategy @@ -37,7 +36,7 @@ app.use(passport.initialize()) app.use(passport.session()) app.use(app.router) -routes = +routes = "/": 'index' "/about": 'about' "/exchangers": 'exchangers' @@ -46,6 +45,7 @@ routes = "/merchants/signup": 'signup' "/contact": 'contact' + for route, view of routes ((route, view) -> app.get(route, (req, res) -> diff --git a/config.js.sample b/config.js.sample deleted file mode 100644 index ce02db5e..00000000 --- a/config.js.sample +++ /dev/null @@ -1,10 +0,0 @@ -var config = {}; - -config.database = { - host : 'host', - user : 'user', - password : 'password', - database: 'database' -} - -module.exports = config; diff --git a/views/index.html b/views/index.html index 216a6abb..72454ad0 100644 --- a/views/index.html +++ b/views/index.html @@ -2,7 +2,7 @@ <div class="row-fluid"> <div class="span12"> <div class="hero-unit"> - <h1>Vancouver Bitcoin</h1> + <h1>Bitcoin Vancouver</h1> <p>We help local businesses accept bitcoins by providing them with payment software and paying cash for their bitcoins. We also sell bitcoins to the public through a network of qualified local exchangers.</p> <p><a href="/about" class="btn btn-primary btn-large">Learn more »</a></p> </div> |
