On Wed, 25 Mar 2015 18:18:00 GMT, Sönke Ludwig wrote:
Hm, we should definitely support the
@path
and@rootPathFromName
attributes forregisterWebInterface
, too, maybe it's also possible to move the related code tovibe.web.common
in the process. I've opened an enhancement request: #1036Currently the way to specify a prefix is using
WebInterfaceSettings
:auto s = new WebInterfaceSettings; s.urlPrefix = "/web/v1"; router.registerWebInterface(new MyWebInterface, s);
Thanks, I misidentified urlPrefix as not working but I had a couple of other things wrong. It does indeed work.