mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
e92db537fa
commit
7f7ab6d62e
@ -46,6 +46,7 @@ func Render(m *ice.Message, cmd string, args ...ice.Any) bool {
|
||||
if cmd != "" && cmd != ice.RENDER_DOWNLOAD {
|
||||
defer func() { m.Logs("Render", cmd, args) }()
|
||||
}
|
||||
m.W.Header().Add("Access-Control-Allow-Origin", "http://localhost:9020")
|
||||
switch cmd {
|
||||
case COOKIE: // value [name [path [expire]]]
|
||||
RenderCookie(m, arg[0], arg[1:]...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user