wiota / lime

Lime binds your work together.
lime.wiota.co
2 stars 0 forks source link

Media endpoint #121

Open ryanhinkel opened 9 years ago

ryanhinkel commented 9 years ago

The current media endpoint is at /image/. There are 2 problems:

  1. Passing a w or a h parameter will anything other than an image to fail.
  2. /image/ is baked into every vertex. An mp3 with a url /image/whatever.mp3 doesn't make too much sense.

The solution is to move the /image/ endpoint to its own media subdomain, and to have a filter for media types.