Gotify Hook: Gotify Base URL does not accept just a hostname: 0,actionGotify,baseUrl is not a valid url
Closed this issue · 3 comments
mrtnbr commented
Note: if you have a question or need support please post in the discussions area.
Describe the bug
I run Backrest and Gotify in the same network, so Gotify can be found by using only the hostname. Backrest however want a full URL when entering the Gotify Base URL.
To Reproduce
Steps to reproduce the behavior:
- Go to repository settings or plan settings
- Go to 'Add Hook' and click Gotify
- Enter something like 'http://gotify' in the Gotify Base URL field
- It will not accept the input, error is: 0,actionGotify,baseUrl is not a valid url
Expected behavior
I expect to be able to enter a URL like 'http://gotify'. This can be done when using a Shoutrrr Hook
Platform Info
- Docker (compose) container on Debian (tag latest)
- Backrest Version 1.1.0
garethgeorge commented
Oops, this is a good catch. Overly zealous form validation is to blame, patching this with a collection of other UI fixes for the next release (targeting a release this weekend).
mrtnbr commented
I can confirm that release 1.2.0 fixes this issue for me! Thank you!
garethgeorge commented
Great, glad that worked for you!