Compare commits
2 Commits
bc9c162de5
...
a6c56ecb22
| Author | SHA1 | Date | |
|---|---|---|---|
| a6c56ecb22 | |||
|
|
6d010ea9ad |
@@ -78,10 +78,10 @@ public class WorkerClientService : IWorkerClientService
|
||||
{
|
||||
var workerUrl = language.ToLowerInvariant() switch
|
||||
{
|
||||
"c++" => _configuration["Workers:Cpp"],
|
||||
"c++" or "cpp" => _configuration["Workers:Cpp"],
|
||||
"java" => _configuration["Workers:Java"],
|
||||
"kotlin" => _configuration["Workers:Kotlin"],
|
||||
"c#" => _configuration["Workers:CSharp"],
|
||||
"c#" or "csharp" => _configuration["Workers:CSharp"],
|
||||
"python" => _configuration["Workers:Python"],
|
||||
_ => throw new NotSupportedException($"Language {language} is not supported")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user