|
|
@@ -22,6 +22,7 @@ export default function (context) {
|
|
|
}
|
|
|
url = proto + "://" + host;
|
|
|
cookies = req.headers.cookie;
|
|
|
+ console.log("server", req.headers)
|
|
|
}
|
|
|
// Client-side
|
|
|
if (process.client) {
|
|
|
@@ -32,6 +33,7 @@ export default function (context) {
|
|
|
proto = "https";
|
|
|
}
|
|
|
cookies = document.cookie;
|
|
|
+ console.log("client", document.location)
|
|
|
}
|
|
|
let groups = {}
|
|
|
try {
|