dotnet: add warning for secret lenght

This commit is contained in:
pabloFuente 2024-05-08 13:59:17 +02:00
parent d8f1802fd5
commit cba4a43392

View File

@ -15,7 +15,7 @@ IConfiguration config = new ConfigurationBuilder()
// Load env variables
var SERVER_PORT = config.GetValue<int>("SERVER_PORT");
var LIVEKIT_API_KEY = config.GetValue<string>("LIVEKIT_API_KEY");
var LIVEKIT_API_SECRET = config.GetValue<string>("LIVEKIT_API_SECRET");
var LIVEKIT_API_SECRET = config.GetValue<string>("LIVEKIT_API_SECRET"); // ATTENTION! Make sure that this string is at least 32 characters long
// Enable CORS support
builder.Services.AddCors(options =>