File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,26 @@ const tokenMetadataApiMetadata: Partial<Metadata> = {
313
313
} ,
314
314
} ;
315
315
316
+ const bitcoinIndexerMetadata : Partial < Metadata > = {
317
+ title : "Bitcoin Indexer" ,
318
+ description :
319
+ "Build accurate, lightweight databases with the Bitcoin Indexer." ,
320
+ openGraph : {
321
+ title : "Bitcoin Indexer" ,
322
+ description :
323
+ "Build accurate, lightweight databases with the Bitcoin Indexer." ,
324
+ images : [
325
+ { url : "/images/bitcoin-indexer-og.jpg" , width : 800 , height : 600 } ,
326
+ ] ,
327
+ } ,
328
+ twitter : {
329
+ title : "Bitcoin Indexer" ,
330
+ description :
331
+ "Build accurate, lightweight databases with the Bitcoin Indexer." ,
332
+ images : [ "/images/bitcoin-indexer-og.jpg" ] ,
333
+ } ,
334
+ } ;
335
+
316
336
export function createMetadata ( override : Partial < Metadata > ) : Metadata {
317
337
return {
318
338
...defaultMetadata ,
@@ -361,6 +381,6 @@ export function getRouteMetadata(path: string): Partial<Metadata> {
361
381
if ( path . startsWith ( "/stacks/rpc-api" ) ) return stacksNodeRpcMetadata ;
362
382
if ( path . startsWith ( "/stacks/token-metadata-api" ) )
363
383
return tokenMetadataApiMetadata ;
364
-
384
+ if ( path . startsWith ( "/bitcoin/indexer" ) ) return bitcoinIndexerMetadata ;
365
385
return { } ;
366
386
}
You can’t perform that action at this time.
0 commit comments