12 lines
314 B
C#
12 lines
314 B
C#
namespace MessengerApi.Configuration.Parsers
|
|
{
|
|
public static class CorsParser
|
|
{
|
|
public static string[] Parse(string value)
|
|
{
|
|
if (string.IsNullOrWhiteSpace(value)) return [];
|
|
return value.Trim().Split(",", StringSplitOptions.RemoveEmptyEntries);
|
|
}
|
|
}
|
|
}
|