ip logging for error reporting

This commit is contained in:
2024-04-08 09:46:25 +01:00
parent e532e0a0ab
commit fac12242e9
19 changed files with 96 additions and 29 deletions
+2
View File
@@ -18,6 +18,7 @@ import {
getCase,
getPortalLogin,
createContainerProxy,
getIP,
} from "../../actions";
import Breadcrumbs from "../../components/breadcrumbs";
import CookieBanner from "../../components/cookieBanner";
@@ -162,6 +163,7 @@ const Home = (props) => {
export const getServerSideProps = wrapper.getServerSideProps(
(store) => async (ctx) => {
const { query, req, res } = ctx;
getIP(req);
console.log("The query", query);
const { cookies } = req;