ipni / storetheindex

A directory of CIDs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is the handler of /routing/v1/providers/{cid}

Shawn-Huang-Tron opened this issue · comments

I can't find the handler of /routing/v1/providers in code, but if i click this i can see the result output: https://cid.contact/routing/v1/providers/bafybeigvgzoolc3drupxhlevdp2ugqcrbcsqfmcek2zxiw5wctk3xjpjwy
This is handler in this repo?

The handler is here: https://github.com/ipni/indexstar/blob/main/server.go#L208
https://github.com/ipni/indexstar/blob/main/delegated_translator.go#L28-L34

indexstar is what we use for handling queries that get proxied to different backends.

Closing. Reopen if this does not answer your question.