Skip to content

Commit

Permalink
misc: xml ignore pretty url
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Aug 13, 2024
1 parent 87ef8f5 commit bf4700a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Shokofin/Configuration/PluginConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public class PluginConfiguration : BasePluginConfiguration
[XmlElement("PublicHost")]
public string PublicUrl { get; set; }

[XmlIgnore]
[JsonIgnore]
public virtual string PrettyUrl
=> string.IsNullOrEmpty(PublicUrl) ? Url : PublicUrl;
Expand Down

0 comments on commit bf4700a

Please sign in to comment.