Change editor rule
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Musify.Application.Configuration;
|
||||
|
||||
public class StreamGatewayConfiguration : IConfigurationOptions
|
||||
namespace Musify.Application.Configuration
|
||||
{
|
||||
public static string SectionName => "StreamGateway";
|
||||
public class StreamGatewayConfiguration : IConfigurationOptions
|
||||
{
|
||||
public static string SectionName => "StreamGateway";
|
||||
|
||||
[Url]
|
||||
[Required]
|
||||
public required string PublicBaseUrl { get; set; }
|
||||
[Url]
|
||||
[Required]
|
||||
public required string PublicBaseUrl { get; set; }
|
||||
|
||||
[Required]
|
||||
public string AudioFileName { get; set; } = "audio.m4a";
|
||||
[Required]
|
||||
public string AudioFileName { get; set; } = "audio.m4a";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user