Why is fetching data in next.js with hardcoded api-key working but not with environment variable?

前端 未结 0 802
再見小時候
再見小時候 2020-12-18 23:46

I followed the documentation of Next.js, so I created a file called .env.local and stored my API key inside.

When console.logging that key it gets shown in th

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