Support app deployment under a path prefix

Fixes #133
This commit is contained in:
Maxime Quandalle 2015-10-08 23:25:04 +02:00
parent c804813e5f
commit a78debc461
6 changed files with 12 additions and 8 deletions

View file

@ -43,10 +43,10 @@ template(name="header")
the list of all boards.
if isSandstorm
.wekan-logo
img(src="/wekan-logo-header.png" alt="Wekan")
img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
else
a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
img(src="/wekan-logo-header.png" alt="Wekan")
img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
template(name="headerTitle")
h1 {{_ 'my-boards'}}