Skip to content

Commit

Permalink
Redirect / to /test on test server
Browse files Browse the repository at this point in the history
  • Loading branch information
madrobby committed Dec 1, 2013
1 parent a9440d5 commit f4bbec8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ dump = (obj) ->
obj = JSON.stringify(obj) if obj and typeof obj isnt "string"
obj

app.all '/', (req, res) ->
res.redirect '/test'

app.all '/test/echo', (req, res) ->
res.set 'Cache-Control', 'no-cache'
res.send """
Expand Down

0 comments on commit f4bbec8

Please sign in to comment.