Skip to content

Commit

Permalink
fix: transform custom host url to lowercase for options form default …
Browse files Browse the repository at this point in the history
…value
  • Loading branch information
abhijithvijayan committed Mar 9, 2020
1 parent a03ac49 commit 9f9ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Options/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Options: React.FC = () => {
advancedSettings === true
? customHost.endsWith('/')
? customHost.slice(0, -1)
: customHost
: customHost.toLowerCase()
: extensionConfig.customhost, // drop customhost value if `advanced` is false
};

Expand Down

0 comments on commit 9f9ab82

Please sign in to comment.