Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to nextv12 and routing update to next/router #1686

Merged
merged 7 commits into from
Dec 3, 2021
Merged

Upgrade to nextv12 and routing update to next/router #1686

merged 7 commits into from
Dec 3, 2021

Conversation

MartinTrojans
Copy link
Contributor

Signed-off-by: Ding Ma [email protected]

};
}
export async function getServerSideProps(ctx) {
const initialProps = await Document.getInitialProps(ctx);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Document.getServerSideProps?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document object provided by next doesn't have getServerSideProps.

@abvaidya
Copy link
Collaborator

abvaidya commented Dec 3, 2021

closes #1607

@abvaidya abvaidya merged commit ee6b470 into AthenZ:master Dec 3, 2021
@MartinTrojans MartinTrojans deleted the ATHENS-6342 branch December 3, 2021 17:40
dvirguttman pushed a commit to dvirguttman/athenz that referenced this pull request Mar 28, 2023
* Upgrade to nextv12 and routing update to next/router

Signed-off-by: Ding Ma <[email protected]>

* Fix service pages

Signed-off-by: Ding Ma <[email protected]>

* Fix sd build

Signed-off-by: Ding Ma <[email protected]>

* add old pages mapping

Signed-off-by: Ding Ma <[email protected]>

* Fix lint

Signed-off-by: Ding Ma <[email protected]>

* Fix snapshots

Signed-off-by: Ding Ma <[email protected]>

* Update based on comments

Signed-off-by: Ding Ma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants