mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* env for base path * delete base path * redo network type * debug review workflow * update values * update values Co-authored-by: Yuliya Sharafitdinova <[email protected]>
11 lines
272 B
TypeScript
11 lines
272 B
TypeScript
import type { GetServerSideProps } from 'next';
|
|
|
|
export const getServerSideProps: GetServerSideProps = async({ res }) => {
|
|
res.setHeader(
|
|
'Cache-Control',
|
|
`public, s-maxage=${ 60 * 60 }, stale-while-revalidate=${ 2 * 60 * 60 }`,
|
|
);
|
|
|
|
return { props: {} };
|
|
};
|