Open coderx0 opened 2 years ago
In many pages ( Ex: index.tsx ) api routes are being used inside getServerSideProps which is not recommended as it will cause an extra request ( because api routes and getServerSideProps both run on server ) reducing performance.
I am getting an error on the upload file, 404 and still working on it but it is strange for the localhost not to be able to fetch the page ...
In many pages ( Ex: index.tsx ) api routes are being used inside getServerSideProps which is not recommended as it will cause an extra request ( because api routes and getServerSideProps both run on server ) reducing performance.