use base path in channel playlist and channel guide (#1028)

This commit is contained in:
Jason Dove
2022-11-20 08:28:14 -06:00
committed by GitHub
parent 3c499f9e97
commit 776bce9087
10 changed files with 40 additions and 16 deletions
@@ -43,11 +43,13 @@ public class EndpointValidatorService : IHostedService
{
throw new NotSupportedException($"Invalid endpoint format: {urls}");
}
string baseUrl = Environment.GetEnvironmentVariable("ETV_BASE_URL");
_logger.LogInformation(
"Server will listen on port {Port} - try UI at {UI}",
Settings.ListenPort,
$"http://localhost:{Settings.ListenPort}");
$"http://localhost:{Settings.ListenPort}{baseUrl}");
return Task.CompletedTask;
}