Browse Source

update for modern assetfs

Stephen McQuay 3 years ago
parent
commit
78b1711cd9
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      control.go

+ 3
- 2
control.go View File

@@ -83,8 +83,9 @@ func NewController(conf Config, mprof, pprof, staticFiles string) *http.ServeMux
83 83
 			prefix["ui"],
84 84
 			http.FileServer(
85 85
 				&assetfs.AssetFS{
86
-					Asset:    Asset,
87
-					AssetDir: AssetDir,
86
+					Asset:     Asset,
87
+					AssetDir:  AssetDir,
88
+					AssetInfo: AssetInfo,
88 89
 				},
89 90
 			),
90 91
 		)

Loading…
Cancel
Save