mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-02 23:57:13 +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