Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/cypress/fixtures/next.config.js-with-basePath
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
target: "experimental-serverless-trace",
basePath: "/foo",
};
2 changes: 1 addition & 1 deletion src/cypress/fixtures/pages/getServerSideProps/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Show = ({ errorCode, show }) => {
return (
<div>
<p>
This page uses getInitialProps() to fetch the show with the ID provided in the URL: /shows/:id
This page uses getServerSideProps() to fetch the show with the ID provided in the URL: /shows/:id
<br />
Refresh the page to see server-side rendering in action.
<br />
Expand Down
2 changes: 1 addition & 1 deletion src/cypress/fixtures/pages/getServerSideProps/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link'
const Show = ({ show }) => (
<div>
<p>
This page uses getInitialProps() to fetch the show with the ID provided in the URL: /shows/:id
This page uses getServerSideProps() to fetch the show with the ID provided in the URL: /shows/:id
<br />
Refresh the page to see server-side rendering in action.
<br />
Expand Down
Loading