Compare commits

..

2 Commits

Author SHA1 Message Date
Râu Cao
89865bcd2a
Allow send_message endpoint from akkounts 2023-01-12 15:37:08 +08:00
Râu Cao
62d1a86555
Configure Webhook URL for lndhub.go 2023-01-12 15:37:04 +08:00

View File

@ -21,8 +21,9 @@ postgres_port = node['lndhub-go']['postgres']['port']
begin
akkounts_host = search(:node, "role:akkounts").first["knife_zero"]["host"]
rescue
node['lndhub-go']['webhook_url'] = "http://#{akkounts_host}:3000/webhooks/lndhub"
rescue
# No akkounts host found
end
git source_dir do