mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
19 lines
344 B
JavaScript
19 lines
344 B
JavaScript
export default function Post() {
|
|
return <span />;
|
|
}
|
|
|
|
Post.getInitialProps = async (ctx) => {
|
|
const req = ctx.req;
|
|
const res = ctx.res;
|
|
res.end(req.url);
|
|
return {}
|
|
}
|
|
|
|
export async function getServerSideProps(ctx) {
|
|
const req = ctx.req;
|
|
const res = ctx.res;
|
|
res.end(req.url);
|
|
return {
|
|
props: {}
|
|
}
|
|
} |