🎨 文件目录
This commit is contained in:
parent
4760796915
commit
0d5f5f80f8
2
main.go
2
main.go
|
@ -91,7 +91,7 @@ func main() {
|
||||||
|
|
||||||
// static resources
|
// static resources
|
||||||
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
|
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
|
||||||
http.Handle("/static/users/", http.StripPrefix("/static/", http.FileServer(http.Dir("C:\\Users\\DL882\\wide\\static\\"))))
|
http.Handle("/static/users/", http.StripPrefix("/static/", http.FileServer(http.Dir(conf.Wide.Data+"/static"))))
|
||||||
serveSingle("/favicon.ico", "./static/images/favicon.png")
|
serveSingle("/favicon.ico", "./static/images/favicon.png")
|
||||||
|
|
||||||
// oauth
|
// oauth
|
||||||
|
|
Loading…
Reference in New Issue