fix css bug
parent
b466ad616c
commit
34a153d496
|
@ -24,7 +24,7 @@ func serveAssets(w http.ResponseWriter, r *http.Request, m *FileManager) (int, e
|
||||||
filename = strings.Replace(filename, "/css/", "", 1)
|
filename = strings.Replace(filename, "/css/", "", 1)
|
||||||
|
|
||||||
if m.Assets.CSS != nil {
|
if m.Assets.CSS != nil {
|
||||||
file, err = m.Assets.JS.Bytes(filename)
|
file, err = m.Assets.CSS.Bytes(filename)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue