From 1ea72ed88cc5589b2b4e62f5d1d09c4a4e684ba7 Mon Sep 17 00:00:00 2001 From: pengwang <969753572@qq.com> Date: Tue, 22 Jun 2021 21:12:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A1=E3=80=81=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0webroot=E7=9B=AE=E5=BD=95=E4=B8=8Blayui=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=9A=84=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- httpServer/routerWeb.go | 1 + 1 file changed, 1 insertion(+) diff --git a/httpServer/routerWeb.go b/httpServer/routerWeb.go index 5ba2895..4c7549d 100644 --- a/httpServer/routerWeb.go +++ b/httpServer/routerWeb.go @@ -17,6 +17,7 @@ func RouterWeb() { exeCurDir, _ := filepath.Abs(filepath.Dir(os.Args[0])) router.Static("/static", exeCurDir+"/webroot/static") router.Static("/plugin", exeCurDir+"/plugin/") + router.Static("/layui", exeCurDir+"/webroot/layui") router.StaticFile("/", exeCurDir+"/webroot/index.html") router.StaticFile("/favicon.ico", exeCurDir+"/webroot/favicon.ico")