mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
fix web.spide cookie
Change-Id: Ie05dffd1356ae844a1426bf123c17224c61f91aa
This commit is contained in:
parent
70e0a730d5
commit
fa862d2cb6
@ -441,11 +441,10 @@ var Index = &ctx.Context{Name: "web", Help: "应用中心",
|
||||
|
||||
m.Cmd("ctx.config", "spide", strings.Join(arg[:3], "."), arg[3])
|
||||
case "cookie", "header":
|
||||
if len(arg) == 3 {
|
||||
m.Cmdy("ctx.config", "spide", strings.Join(arg[:3], "."))
|
||||
break
|
||||
if len(arg) > 3 {
|
||||
m.Cmd("ctx.config", "spide", strings.Join(arg[:3], "."), arg[3])
|
||||
}
|
||||
m.Cmdy("ctx.config", "spide", strings.Join(arg[:3], "."), arg[3])
|
||||
m.Cmdy("ctx.config", "spide", strings.Join(arg[:3], "."))
|
||||
default:
|
||||
m.Cmd("ctx.config", "spide", strings.Join(arg[:2], "."), arg[2])
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user