diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-28 09:35:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-28 09:35:17 +0100 |
commit | 26514fb406b25d4373086a9d1d88f795f88f42d4 (patch) | |
tree | 19e6cf81f7e1b944333e8127c31fd72df227b2ba /lualib | |
parent | 8475865ae0bf5bd46a8ed6f0decc7b1ddbdae47a (diff) | |
download | rspamd-26514fb406b25d4373086a9d1d88f795f88f42d4.tar.gz rspamd-26514fb406b25d4373086a9d1d88f795f88f42d4.zip |
[Minor] Fix vault URL
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_dkim_tools.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua index 2e5856d3c..6220c0162 100644 --- a/lualib/lua_dkim_tools.lua +++ b/lualib/lua_dkim_tools.lua @@ -556,7 +556,8 @@ exports.sign_using_vault = function(N, task, settings, selectors, sign_func, err local http = require "rspamd_http" local ucl = require "ucl" - local full_url = settings.vault_url .. '/' .. selectors.domain + local full_url = string.format('%s/v1/%s', + settings.vault_url, selectors.domain) local function vault_callback(err, code, body, _) if code ~= 200 then |