Page 2 of 2
Re: Dashticz - Module - Sonarr
Posted: Sunday 11 March 2018 13:25
by rick82
Code: Select all
Failed to load http://192.168.1.4:8989//api/calendar?apikey=thecorrectapikeyisreallyhere&start=2018-03-11&end=2018-04-12: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.5:8080' is therefore not allowed access.
Weird. When opening the given URL it works, i'm getting a long XML-code with all of the data.
So I can't get the 'not allowed access' error because it does work on my laptop.
Tried it also from console from 1.5 address with wget: it delivers the right amount of data, same as in the browser.
(Thanks for helping me out btw)
Re: Dashticz - Module - Sonarr
Posted: Sunday 11 March 2018 14:30
by Luxtux
I think the url you typed in your CONFIG.js file has a trailing slash. try this:
Code: Select all
vconfig['sonarr_url'] = 'http://192.168.1.4:8989';
I've created a
pull request so that sonarr.js removes the trailing slash if needed
Re: Dashticz - Module - Sonarr
Posted: Saturday 31 March 2018 14:23
by rick82
Sorry for my late response. That worked. Could have figured out myself: the extra / in the URL.
Thanks again.