aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DlnaServerController.cs
diff options
context:
space:
mode:
authorGreenback <jimcartlidge@yahoo.co.uk>2020-11-21 19:50:40 +0000
committerGreenback <jimcartlidge@yahoo.co.uk>2020-11-21 19:50:40 +0000
commit5224200e8cb180f160f75ca7ffe9a121bcf993cf (patch)
tree3a6fd75dd6b9ac311ab61c3c6c1ae05cb7fd3fa8 /Jellyfin.Api/Controllers/DlnaServerController.cs
parent9b5ae690c1d80fc8466b653f93edf7399753aa14 (diff)
Fixed baseurl in dlna.
Diffstat (limited to 'Jellyfin.Api/Controllers/DlnaServerController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DlnaServerController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DlnaServerController.cs b/Jellyfin.Api/Controllers/DlnaServerController.cs
index 4e6455eaa..4fd9c2fbf 100644
--- a/Jellyfin.Api/Controllers/DlnaServerController.cs
+++ b/Jellyfin.Api/Controllers/DlnaServerController.cs
@@ -252,7 +252,7 @@ namespace Jellyfin.Api.Controllers
private string GetAbsoluteUri()
{
- return $"{Request.Scheme}://{Request.Host}{Request.Path}";
+ return $"{Request.Scheme}://{Request.Host}{Request.PathBase}{Request.Path}";
}
private Task<ControlResponse> ProcessControlRequestInternalAsync(string id, Stream requestStream, IUpnpService service)