How to make a request to an API route from `getStaticProps`

后端 未结 0 462
囚心锁ツ
囚心锁ツ 2021-01-31 23:29

I want to display the latest video from a YouTube channel on a website. The channel uploads at maximum once per day, so I\'m caching the response of my API route for 1 day (8640

相关标签:
回答
  • 消灭零回复
提交回复
热议问题