Show node ID in regular text not disabled control (fixes #162)

This commit is contained in:
Jakob Borg
2014-04-30 22:42:39 +02:00
parent aff3cd01c5
commit 4f2fe07ae4
4 changed files with 9 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ package main
import (
"fmt"
"log"
"mime"
"net/http"
"path/filepath"
@@ -15,7 +16,7 @@ import (
func embeddedStatic() interface{} {
var modt = time.Now().UTC().Format(http.TimeFormat)
return func(res http.ResponseWriter, req *http.Request) {
return func(res http.ResponseWriter, req *http.Request, log *log.Logger) {
file := req.URL.Path
if file[0] == '/' {