Skip to content
Browse files

getting startedのルーティング設定追加

  • Loading branch information...
1 parent a4c76b3 commit 4d224f4ab124126693d68597318ef93c404ad74f @georgeOsdDev committed Aug 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 docpad.coffee
View
3 docpad.coffee
@@ -118,6 +118,9 @@ docpadConfig = {
server.use (req,res,next) ->
if req.headers.host in oldUrls
res.redirect(newUrl+req.url, 301)
+ else if req.url is '/pages/start-en'
+ # Redirect default Getting Started
+ res.redirect('/pages/start',301)
else
next()
}

0 comments on commit 4d224f4

Please sign in to comment.
Something went wrong with that request. Please try again.