Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac31409

Browse files
committed
添加依赖
1 parent 2bc1b31 commit ac31409

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

src/http/http.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -181,21 +181,21 @@ const (
181181

182182
// 是否访问这些页面
183183
var filterPathes = map[string]struct{}{
184-
"/account/login": struct{}{},
185-
"/account/register": struct{}{},
186-
"/account/forgetpwd": struct{}{},
187-
"/account/resetpwd": struct{}{},
188-
"/topics/new": struct{}{},
189-
"/topics/modify": struct{}{},
190-
"/resources/new": struct{}{},
191-
"/resources/modify": struct{}{},
192-
"/articles/new": struct{}{},
193-
"/articles/modify": struct{}{},
194-
"/project/new": struct{}{},
195-
"/project/modify": struct{}{},
196-
"/book/new": struct{}{},
197-
"/wiki/new": struct{}{},
198-
"/wiki/modify": struct{}{},
184+
"/account/login": {},
185+
"/account/register": {},
186+
"/account/forgetpwd": {},
187+
"/account/resetpwd": {},
188+
"/topics/new": {},
189+
"/topics/modify": {},
190+
"/resources/new": {},
191+
"/resources/modify": {},
192+
"/articles/new": {},
193+
"/articles/modify": {},
194+
"/project/new": {},
195+
"/project/modify": {},
196+
"/book/new": {},
197+
"/wiki/new": {},
198+
"/wiki/modify": {},
199199
}
200200

201201
// Render html 输出

src/template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../template

0 commit comments

Comments
 (0)