Skip to content

Conversation

@dword-design
Copy link

It's common practice to store API keys in environment variables so they aren't versioned. This PR fallbacks to an env variable when siteKey is not explicitly set.

@atinux
Copy link
Contributor

atinux commented Jan 30, 2021

Hi @dword-design

Thank you for the PR, I think #70 will actually do the same work with the advantage or working when changing .env without having to run nuxt build again

@dword-design
Copy link
Author

@atinux I'm not too deep into the runtime config feature, so if it does the same I'd be fine with closing the PR. Also, I've changed my convention to directly pass environment variables, so it's not that important for me anymore.

@atinux atinux closed this Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants