I'm trying to add a page with the bare minimum structure with getServerSideProps(). This page works locally but when deployed to Vercel I get the FUNCTION_INVOCATION_TIMEOUT error. I have another page that doesn't have a getServerSideProps() and it renders just fine both locally and in prod. Could this be a Vercel thing or something with Next?
My code is literally just the following:
import * as React from "react";
import {Container} from "@mui/material";
export default function About() {
return <Container maxWidth="lg"></Container>;
}
export async function getServerSideProps(context: any) {
return {
// Passed to the page component as props
props: {},
};
}
Any ideas?
