forked from colorpeach/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.js
More file actions
48 lines (48 loc) · 811 Bytes
/
Copy pathsettings.js
File metadata and controls
48 lines (48 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
module.exports = {
secret:"colorpeach",
//需要权限访问
authPath:[
"edit",
"org",
"user",
"deck"
],
//需要权限ajax访问
authAjaxPath:[
"get",
"post",
"put",
"options",
"head",
"delete"
],
//不需要权限ajax访问
unauthAjaxPath:[
"fetch",
"mock",
"mocktpl",
"photo"
],
//不需要权限访问
unauthPath:[
"",
"login",
"logout",
"register",
"account",
"slide",
"doc",
"tools",
"projects",
"demo",
"modifypassword"
],
//静态文件路径
staticPath:[
"js",
"lib",
"css",
"common",
"utils"
]
};