updated service status down functionality
This commit is contained in:
@@ -236,10 +236,10 @@ export async function getServerSideProps(context) {
|
||||
};
|
||||
}
|
||||
|
||||
if (process.env.SHOWLOGIN == false) {
|
||||
if (process.env.SHOWLOGIN === "false" || process.env.SHOWLOGIN === false) {
|
||||
return {
|
||||
redirect: {
|
||||
destination: "/404",
|
||||
destination: "/status",
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
@@ -250,7 +250,7 @@ export async function getServerSideProps(context) {
|
||||
"\n//////////////////////\n",
|
||||
"Sign in callbackurl: " + context.req.headers.host,
|
||||
context.locale,
|
||||
csrfToken + "\n//////////////////////\n"
|
||||
csrfToken + "\n//////////////////////\n",
|
||||
);
|
||||
let formURL = context.req.headers.host;
|
||||
console.log("formUrl:", formURL);
|
||||
|
||||
Reference in New Issue
Block a user