Porthole-Project / Porthole

A window into the status of multiple services related to Plex Media Server (Plex, Couchpotato, Sickrage, Deluge, Sabnzbd+, etc.).
MIT License
28 stars 0 forks source link

Make "Online"/"Offline" button always link to the URL provided #36

Open scytherswings opened 6 years ago

scytherswings commented 6 years ago

From @scytherswings on January 22, 2016 4:5

Right now it looks like if only "asdf" is provided, rails will try to route the link to the rails server, so if the URL is set to "asdf" then the link will be 0.0.0.0:3000/asdf which, of course doesn't exist. Now if "asdf" was resolvable by DNS, then this could be valid, so it should be treated as such.

Copied from original issue: scytherswings/Plex-Board#36