Using environment variable in Vanilla JS (Reference Error: require not defined)

后端 未结 0 898
情歌与酒
情歌与酒 2021-01-05 13:19

I\'m doing a simple weather app and I\'m trying to set my API key as an environment variable like you would in Python using apiKey = os.getenv[\'MY_API_KEY\'].

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