Skip to content

Commit

Permalink
Add svtplay to /go.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Apr 14, 2016
1 parent 689b621 commit 815b93a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.rb
Expand Up @@ -30,6 +30,8 @@
redirect "/vimeo?#{params.to_querystring}"
elsif /^https?:\/\/([a-zA-Z0-9]+\.)?imgur\.com/ =~ params[:q]
redirect "/imgur?#{params.to_querystring}"
elsif /^https?:\/\/(www\.)?svtplay\.se/ =~ params[:q]
redirect "/svtplay?#{params.to_querystring}"
elsif /^https?:\/\/twitter\.com\/(?<user>[^\/?#]+)/ =~ params[:q]
redirect "https://stefansundin.com/@#{user}"
else
Expand Down

0 comments on commit 815b93a

Please sign in to comment.