GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Unverified Commit 8b41f9fd authored by Philipp Winter's avatar Philipp Winter
Browse files

Only load HTML templates when Web interface is on.

parent d260aa1f
...@@ -132,10 +132,9 @@ func main() { ...@@ -132,10 +132,9 @@ func main() {
} }
log.SetFlags(log.LstdFlags | log.LUTC) log.SetFlags(log.LstdFlags | log.LUTC)
if web { if web {
log.Println("Enabling web interface.") log.Println("Enabling web interface.")
routes = append(routes, routes = append(routes,
Route{ Route{
"Index", "Index",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment