language routing

This commit is contained in:
2021-09-28 13:36:19 +01:00
parent 475c9715fc
commit 5f9d239b50
19 changed files with 206 additions and 82 deletions
+1
View File
@@ -45,6 +45,7 @@ function Error({ statusCode }, props) {
Error.getInitialProps = ({ res, err }) => {
const statusCode = res ? res.statusCode : err ? err.statusCode : 404;
console.log(res, err);
return { statusCode };
};