-
Notifications
You must be signed in to change notification settings - Fork 800
Description
Describe your suggested feature
Instead it should only save provider and the URL suffix (not the main domain) and lookup the current url's main domain based on provider URL to let the provider handle it. As if mainUrl is changed it breaks existing entries.
We could handle backward compatibility too to make it work for existing entries by just parsing the URL parts and ignore the domain part and replace it with saved providers URL. As least in theory, I have not made any attempts at this yet.
Another theory I suppose could work is keep using mainurl but add something to UI like "Update cache" to recache the URL so it updates or some sort of expiry on it so it updates sometimes. Not exactly sure how to handle this as looking for the mainUrl in all providers could also have a negative performance impact.
I don't know if there is really a perfect solution to this either...
Other details
I will probably look at this later this is mostly just as a reminder for me.
Acknowledgements
- My suggestion is NOT about adding a new provider
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.