clean up debug info, reduce page weight
This commit is contained in:
@@ -123,7 +123,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
console.log(cookies);
|
||||
console.log("the query :", query.ticketnumber);
|
||||
|
||||
console.log("viewkey:" + query.hasOwnProperty("key") ? "yes" : "no");
|
||||
console.log("viewkey: " + (query.hasOwnProperty("key") ? "yes" : "no"));
|
||||
|
||||
const showLoginCheck = process.env.SHOWLOGIN || false;
|
||||
let thisSession = await getSession(ctx);
|
||||
|
||||
Reference in New Issue
Block a user