getStaticProps: with catch-all routing

This page uses getStaticProps() to fetch a TV show from an API.
It uses catch-all routing.

Because the page uses catch-all routing, the list of paths are pre-defined in getStaticPaths.
For this page, you can choose between one of the following pre-defined paths:

View code on GitHub

Show #490: Star Trek

Type: Scripted
Language: English
Status: Ended
Premiered: 1966-09-08
Official Site:
Rating (average): 8.4

Go back home