Permalink
Browse files

adding mising web.backbone.js

  • Loading branch information...
toolbear committed Jan 20, 2012
1 parent a988dae commit c01aded0099507ac18b0f308a28e26d0f61b726d
Showing with 12 additions and 0 deletions.
  1. +12 −0 web.backbone.js
View
@@ -0,0 +1,12 @@
+var express = require('express');
+
+var app = express.createServer(express.logger(), express.static(__dirname + '/public'));
+
+app.get('/login', function(req, res) {
+ res.redirect('/login.html');
+});
+
+var port = process.env.PORT || 3000;
+app.listen(port, function() {
+ console.log("Listening on " + port);
+});

0 comments on commit c01aded

Please sign in to comment.