Skip to content

Conversation

remi-espie
Copy link

This PR fix the first path segment in URL cannot contain colon when passing notifier to scrutiny through env variables.

Per the doc, environment-given notifier URLs should be contained in a json array. However, this feature does not work at the time.

To fix this issue, I added a json.unmarshal on notify.urls config string. The configuration string is only replaced if the unmarshal has no error, ensuring backward compatibility.

Note: I only tested this feature with the docker image, and not the binary. Ensuring the binary work before merging would be best.

This PR closes #745.

Also, thanks for the good work !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] first path segment in URL cannot contain colon with discord notifier
1 participant