Commit Graph

5 Commits

Author SHA1 Message Date
Henrik Hodne
24a3714d62 fix(api-redirect): update regex used for determining when to redirect
With the old redirect, repositories with "png" in the name got
redirected as well as images.
2014-03-12 13:07:57 -05:00
Piotr Sarnacki
226b938214 Drop redirect logic for API other than images and/or cc.xml 2013-09-13 13:06:38 +02:00
Piotr Sarnacki
de38b3d297 Redirect /:owner/:name/builds.json to a proper api endpoint 2012-11-10 15:47:33 +01:00
Konstantin Haase
f8ab48178e also redirect "Accept: */*" to the api 2012-11-08 13:26:59 +01:00
Konstantin Haase
4cd506ea59 redirect potential API calls to API, fixes #32 2012-10-22 21:21:19 +02:00