Closed cosmo83 closed 2 years ago
pretty sure this is related to https://github.com/open-wa/wa-automate-docker/issues/20
@github-actions run
#1949
#1950
#1946
#1947
#1945
#1940
#1941
c8748ab
nl-nl
#743 2bcd942
--skip-url-check
to use non-FQDN webhook addresses #1942 4880ef7
edbfdee
.gitignore
to include multiDevice workaround deb2467
@cosmo83 please update your version and use the --skip-url-check
thanks
If iam passing the webhook using the latest version of EasyAPI with -w , or --webhook, you are checking this with isUrl
if(c.webhook || c.webhook == '') { if(isUrl(c.webhook) || Array.isArray(c.webhook)) { spinner.succeed('webhooks set already') } else { if(c.webhook == '') c.webhook = 'webhooks.json'; c.webhook = tryOpenFileAsObject(c.webhook, true); if(!isUrl(c.webhook)) { c.webhook = undefined } } }
The isUrl does not work for custom urls for example when we are trying to run this as part of other containers in docker-compose / kubernetes.
Though this is not trivial, please look at some other options. It took me a while to figure out the issue.