adding check on backend
This commit is contained in:
parent
e5270a66fc
commit
717861d2c7
|
@ -100,7 +100,7 @@ exports.setInitInfo = ctx => {
|
|||
}
|
||||
|
||||
exports.getInitInfo = ctx => {
|
||||
ctx.body = getCookie(ctx, Cookies.Init)
|
||||
ctx.body = getCookie(ctx, Cookies.Init) || {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue