Remove old generated JS/CSS paths
We generate a whole file now.
This commit is contained in:
parent
1a7a2b13aa
commit
7f90391ecd
2 changed files with 0 additions and 16 deletions
10
html/func.go
10
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":
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue