Add htaccess, make base configurable

This commit is contained in:
Vit Brunner
2014-11-11 21:05:19 +01:00
parent 3ebdaac320
commit 62a7ba76ce
3 changed files with 32 additions and 4 deletions
+4
View File
@@ -0,0 +1,4 @@
RewriteEngine On
RewriteBase <%= base %>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.html [PT]
+1 -1
View File
@@ -1,7 +1,7 @@
doctype html
html(ng-app="sideBySide")
head
base(href='/')
base(href="#{base}")
title Side By Side viewer
meta(charset="utf-8")
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Noticia+Text:400,700,400italic,700italic")