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
@@ -9,6 +9,7 @@ import {
import { wrapper } from "../store/store";
import Head from "next/head";
import { getIP } from "../actions";
const ShowStorage = (props) => {
const { container } = props;
@@ -25,6 +26,7 @@ const ShowStorage = (props) => {
export const getServerSideProps = wrapper.getServerSideProps(
(store) => async (ctx) => {
const { query, req, res } = ctx;
getIP(req);
console.log(
"have therese?:",