rotundasoftware/cartero-express-hook — pull request #8 by pepoviola (2013-12-31 18:31:23+00:00)
Title: use carteroJson.publicUrl since we make sure that PublicUrl always start with / in cartero

use:

fileName = carteroJson.publicUrl + fileName.replace( carteroJson.publicDir, "" );