diff --git a/src/http/http.go b/src/http/http.go index f50e308d..e482724d 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -181,21 +181,21 @@ const ( // 是否访问这些页面 var filterPathes = map[string]struct{}{ - "/account/login": struct{}{}, - "/account/register": struct{}{}, - "/account/forgetpwd": struct{}{}, - "/account/resetpwd": struct{}{}, - "/topics/new": struct{}{}, - "/topics/modify": struct{}{}, - "/resources/new": struct{}{}, - "/resources/modify": struct{}{}, - "/articles/new": struct{}{}, - "/articles/modify": struct{}{}, - "/project/new": struct{}{}, - "/project/modify": struct{}{}, - "/book/new": struct{}{}, - "/wiki/new": struct{}{}, - "/wiki/modify": struct{}{}, + "/account/login": {}, + "/account/register": {}, + "/account/forgetpwd": {}, + "/account/resetpwd": {}, + "/topics/new": {}, + "/topics/modify": {}, + "/resources/new": {}, + "/resources/modify": {}, + "/articles/new": {}, + "/articles/modify": {}, + "/project/new": {}, + "/project/modify": {}, + "/book/new": {}, + "/wiki/new": {}, + "/wiki/modify": {}, } // Render html 输出 diff --git a/src/template b/src/template new file mode 120000 index 00000000..adb091cf --- /dev/null +++ b/src/template @@ -0,0 +1 @@ +../template \ No newline at end of file