From 7f90391ecd932ac492b3a4054788fa76c3f7ecda Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 8 Apr 2026 15:01:02 +0000 Subject: [PATCH] Remove old generated JS/CSS paths We generate a whole file now. --- html/func.go | 10 ---------- static/gen.go | 6 ------ 2 files changed, 16 deletions(-) delete mode 100644 static/gen.go 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"