ip logging for error reporting
This commit is contained in:
@@ -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?:",
|
||||
|
||||
Reference in New Issue
Block a user