🐛 change text proxy

This commit is contained in:
微凉
2021-11-15 19:06:10 +08:00
parent c0d1888e25
commit c03646dedf
2 changed files with 26 additions and 1 deletions

View File

@ -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)
}