mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
Fix after update
This commit is contained in:
parent
5b20aca1f2
commit
365423e598
1 changed files with 4 additions and 4 deletions
|
@ -63,11 +63,11 @@ public class BtcPayAppController(
|
|||
ContactUrl = serverSettings.ContactUrl,
|
||||
RegistrationEnabled = policiesSettings.EnableRegistration,
|
||||
CustomThemeExtension = themeSettings.CustomTheme ? themeSettings.CustomThemeExtension.ToString() : null,
|
||||
CustomThemeCssUrl = themeSettings.CustomTheme && !string.IsNullOrEmpty(themeSettings.CustomThemeFileId)
|
||||
? await fileService.GetFileUrl(Request.GetAbsoluteRootUri(), themeSettings.CustomThemeFileId)
|
||||
CustomThemeCssUrl = themeSettings.CustomTheme && !string.IsNullOrEmpty(themeSettings.CustomThemeCssUrl?.ToString())
|
||||
? themeSettings.CustomThemeCssUrl.ToString()
|
||||
: null,
|
||||
LogoUrl = !string.IsNullOrEmpty(themeSettings.LogoFileId)
|
||||
? await fileService.GetFileUrl(Request.GetAbsoluteRootUri(), themeSettings.LogoFileId)
|
||||
LogoUrl = !string.IsNullOrEmpty(themeSettings.LogoUrl?.ToString())
|
||||
? themeSettings.LogoUrl.ToString()
|
||||
: null
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue