Skip to content

Commit

Permalink
refactor: Plex settings - remove http(s):// from default hostname value
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenn92 committed Feb 5, 2024
1 parent eaeb91d commit 5273f25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/components/Settings/Plex/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ const PlexSettings = () => {
id="hostname"
type="text"
ref={hostnameRef}
defaultValue={settingsCtx.settings.plex_hostname}
defaultValue={settingsCtx.settings.plex_hostname
.replace('http://', '')
.replace('https://', '')}
></input>
</div>
</div>
Expand Down

0 comments on commit 5273f25

Please sign in to comment.