Skip to content

Commit

Permalink
fix testing redirect to http://localhost:4200/ redirects to http://lo…
Browse files Browse the repository at this point in the history
…calhost:4200/tests/ for easy test access
  • Loading branch information
stefanpenner committed Oct 2, 2014
1 parent ca02462 commit 7349488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"broccoli-writer": "~0.1.1",
"chalk": "~0.4.0",
"defeatureify": "~0.2.0",
"ember-cli": "0.0.44",
"ember-cli": "0.0.46",
"ember-publisher": "0.0.6",
"es6-module-transpiler": "~0.4.0",
"express": "^4.5.0",
Expand Down
4 changes: 2 additions & 2 deletions server/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = function(app) {
app.get('/', function(req, res) {
res.redirect('tests/');
app.get('/', function(req, res){
res.redirect('/tests/index.html');
});
};

0 comments on commit 7349488

Please sign in to comment.