different linebreak
moved 301 redirect function to middleware
Merge pull request #30 from wyoumans/fix/404

Fix/404