File tree Expand file tree Collapse file tree 14 files changed +226
-337
lines changed Expand file tree Collapse file tree 14 files changed +226
-337
lines changed Original file line number Diff line number Diff line change 11export { Root as default } from "../components/Root" ;
22export { metadata , viewport } from "../metadata" ;
3+
4+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
22
3- import { Cluster , getFeeds } from "../../../services/pyth" ;
43export { PriceFeedLayout as default } from "../../../components/PriceFeed/layout" ;
54
65export const metadata : Metadata = {
76 title : "Price Feeds" ,
87} ;
98
10- export const generateStaticParams = async ( ) => {
11- const feeds = await getFeeds ( Cluster . Pythnet ) ;
12- return feeds . map ( ( { symbol } ) => ( { slug : encodeURIComponent ( symbol ) } ) ) ;
13- } ;
9+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change 11export { ChartPage as default } from "../../../components/PriceFeed/chart-page" ;
2+
3+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change 11export { Publishers as default } from "../../../../components/PriceFeed/publishers" ;
2+
3+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ export { PriceFeeds as default } from "../../components/PriceFeeds";
55export const metadata : Metadata = {
66 title : "Price Feeds" ,
77} ;
8+
9+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
22
33export { PublishersLayout as default } from "../../../components/Publisher/layout" ;
4- import { getPublishers } from "../../../services/clickhouse" ;
54
65export const metadata : Metadata = {
76 title : "Publishers" ,
87} ;
98
10- export const generateStaticParams = async ( ) => {
11- const publishers = await getPublishers ( ) ;
12- return publishers . map ( ( { key } ) => ( { key } ) ) ;
13- } ;
9+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change 11export { Performance as default } from "../../../components/Publisher/performance" ;
2+
3+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change 11export { PriceFeeds as default } from "../../../../components/Publisher/price-feeds" ;
2+
3+ export const revalidate = 3600 ;
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ export { Publishers as default } from "../../components/Publishers";
55export const metadata : Metadata = {
66 title : "Publishers" ,
77} ;
8+
9+ export const revalidate = 3600 ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments