mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
13 lines
356 B
C#
13 lines
356 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SharpbinV3.Server.Settings
|
|
{
|
|
public class AppSettings
|
|
{
|
|
[Required, MaxLength(256)]
|
|
public string Domain { get; set; } = string.Empty;
|
|
public bool Https { get; set; } = true;
|
|
public string[] AllowedCorsOrigins { get; set; } = ["http://localhost:5173"];
|
|
}
|
|
}
|