From a189adff41fbc3a95ba8da982a757bd4649a60f6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 29 Nov 2012 22:14:22 -0800 Subject: Remove config file --- app.coffee | 4 ++-- config.js.sample | 10 ---------- views/index.html | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 config.js.sample diff --git a/app.coffee b/app.coffee index 7847c16e..e59829a6 100644 --- a/app.coffee +++ b/app.coffee @@ -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 @@
-

Vancouver Bitcoin

+

Bitcoin Vancouver

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.

Learn more »

-- cgit v1.2.3