deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: [PATCH core 2/4] Core: Removed unnecessary stuff from config.ru
Date Thu, 06 Sep 2012 23:41:34 GMT
On Thu, 2012-09-06 at 14:20 +0200, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mfojtik@redhat.com>
> 
> * Thinks like :default_driver and :logger are same
>   for all three frontends.
> 
> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> ---
>  server/config.ru              |   32 ++++++++++----------------------
>  server/lib/deltacloud_rack.rb |    4 ++--
>  2 files changed, 12 insertions(+), 24 deletions(-)

Sorry .. did find one problem: because the DC frontend is now mounted
at /api, Sinatra never sees requests for /images, which leads to broken
images in the HTML UI.

So, I revise my ACK to ACK after fixing this (by mapping /images via
Rack::Builder similar to /stylesheets and /javascripts)

David



Mime
View raw message