diff --git a/html/func.go b/html/func.go index 7a590cc3..f028bb84 100644 --- a/html/func.go +++ b/html/func.go @@ -23,8 +23,6 @@ import ( func addFuncMap(t *template.Template) { funcMap := template.FuncMap{ "bigNumber": bigNumber, - "bundlePathCSS": bundlePathCSS, - "bundlePathJS": bundlePathJS, "displayUploadStatus": displayUploadStatus, "displayUploadType": displayUploadType, "duration": duration, @@ -62,14 +60,6 @@ func bigNumber(n int) string { return result.String() } -func bundlePathCSS() string { - //return static.BundlePathCSS - return "nowhere" -} -func bundlePathJS() string { - //return static.BundlePathJS - return "nowhere" -} func displayUploadStatus(s string) string { switch s { case "committed": diff --git a/static/gen.go b/static/gen.go deleted file mode 100644 index a40699fd..00000000 --- a/static/gen.go +++ /dev/null @@ -1,6 +0,0 @@ -package static - -// gen.go - checked into git -// This file is overwritten during Nix builds with hashed paths -const BundlePathCSS = "/static/gen/main.css" -const BundlePathJS = "/static/gen/main.js"