Fix spacing issues

This commit is contained in:
Joshua Boniface 2019-10-09 10:36:40 -04:00
parent b96079fee6
commit b10e06ff45
1 changed files with 3 additions and 1 deletions

View File

@ -169,6 +169,7 @@ namespace MediaBrowser.Model.Configuration
set set
{ {
_baseUrl = value; _baseUrl = value;
// Normalize the start of the string // Normalize the start of the string
if (string.IsNullOrWhiteSpace(_baseUrl)) if (string.IsNullOrWhiteSpace(_baseUrl))
{ {
@ -185,6 +186,7 @@ namespace MediaBrowser.Model.Configuration
// If baseUrl was configured with a leading slash, just return it as-is // If baseUrl was configured with a leading slash, just return it as-is
_baseUrl = _baseUrl; _baseUrl = _baseUrl;
} }
// Normalize the end of the string // Normalize the end of the string
if (_baseUrl.EndsWith("/")) if (_baseUrl.EndsWith("/"))
{ {