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