fix custom url

added webdir so users behind reverse proxy can use it.
Merge pull request #189 from Hellowlol/custom-fix

fix custom url