fix custom url

added webdir so users behind reverse proxy can use it.