chore: try another angle here

This commit is contained in:
Richard Simpson
2019-09-20 15:45:05 -05:00
parent b136f7630b
commit 0933e819ce
2 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
const got = require('got');
(async () => {
const result = await got(`localhost:8200/v1/secret/config`, {
const result = await got(`${process.env.VAULT_HOST}:${process.env.VAULT_PORT}/v1/secret/config`, {
method: 'POST',
headers: {
'X-Vault-Token': 'testtoken'