1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-03-19 21:03:33 +08:00
parent e92db537fa
commit 7f7ab6d62e

View File

@ -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:]...)