Currently the root path is hardcoded to Url.base.origin which is just the domain, and loses any subdirectory references.
This adds the path - it's slightly more fiddly than I'd like because Url.base.path is incosistent.. if there's a directory it ends with a slash, if there isn't it's completely empty rather than '/'.
Currently the root path is hardcoded to Url.base.origin which is just the domain, and loses any subdirectory references.
This adds the path - it's slightly more fiddly than I'd like because Url.base.path is incosistent.. if there's a directory it ends with a slash, if there isn't it's completely empty rather than '/'.