From 0d5f5f80f89533dcc9f83257cb1d70d4ff7f4cb2 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 17 May 2019 13:00:59 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=96=87=E4=BB=B6=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 362c167..08d2555 100644 --- a/main.go +++ b/main.go @@ -91,7 +91,7 @@ func main() { // static resources 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") // oauth