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

@ -2,12 +2,16 @@ head
title Wekan
meta(name="viewport"
content="maximum-scale=1.0,width=device-width,initial-scale=1.0,user-scalable=0")
//- XXX We should use pathFor in the following `href` to support the case
where the application is deployed with a path prefix, but it seems to be
difficult to do that cleanly with Blaze -- at least without adding extra
packages.
link(rel="shortcut icon" href="/wekan-favicon.png")
template(name="userFormsLayout")
section.auth-layout
h1.at-form-landing-logo
img(src="/wekan-logo.png" alt="Wekan")
img(src="{{pathFor '/wekan-logo.png'}}" alt="Wekan")
+Template.dynamic(template=content)
template(name="defaultLayout")