mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
🐛 change text proxy
This commit is contained in:
@@ -12,7 +12,11 @@ import (
|
||||
|
||||
|
||||
func init() {
|
||||
index, _ := public.Public.Open("index.html")
|
||||
index, err := public.Public.Open("index.html")
|
||||
if err != nil {
|
||||
log.Errorf(err.Error())
|
||||
return
|
||||
}
|
||||
data, _ := ioutil.ReadAll(index)
|
||||
conf.RawIndexHtml = string(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user