fixed gobindata panic
This commit is contained in:
parent
82def358d5
commit
d90baca788
@ -31,9 +31,10 @@ func addRoutes(sm *http.ServeMux, a *Allowances, staticFiles string) {
|
|||||||
prefix["static"],
|
prefix["static"],
|
||||||
http.FileServer(
|
http.FileServer(
|
||||||
&assetfs.AssetFS{
|
&assetfs.AssetFS{
|
||||||
Asset: Asset,
|
Asset: Asset,
|
||||||
AssetDir: AssetDir,
|
AssetDir: AssetDir,
|
||||||
Prefix: "static",
|
AssetInfo: AssetInfo,
|
||||||
|
Prefix: "static",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user