Created
January 31, 2021 23:52
-
-
Save carlohcs/9781c7491de20aa2a372149f241b7f25 to your computer and use it in GitHub Desktop.
Get heroku env values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const keys = {}; | |
const keyInputs = document.querySelectorAll(".config-var-key"); | |
const keyInputsValue = document.querySelectorAll(".config-var-value"); | |
[...keyInputs].map((item, key) => { | |
keys[item.value] = keyInputsValue[key].value; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment