Permalink
Browse files

old host

  • Loading branch information...
1 parent bf0ca27 commit c636166ca624a0e3f716e0e16fdbd73098d6907a Visnu Pitiyanuvath committed Jul 2, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 config/app.js
  2. +1 −1 deploy.conf
View
@@ -122,8 +122,8 @@ app.configure('development', function() {
app.configure('production', function() {
app.use(express.static(app.paths.public, { maxAge: 1000 * 5 * 60 }));
app.use(function(req, res, next) {
- if (req.headers.host !== 'nodeknockout.com')
- res.redirect('http://nodeknockout.com' + req.url);
+ if (req.headers.host !== '2011.nodeknockout.com')
+ res.redirect('http://2011.nodeknockout.com' + req.url);
else
next();
});
View
@@ -1,7 +1,7 @@
# https://github.com/visionmedia/deploy
[production]
user app
-host linode.nodeknockout.com
+host 2011.nodeknockout.com
repo git@github.com:nko2/website.git
ref origin/master
path /home/app/nko2

0 comments on commit c636166

Please sign in to comment.