diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/MediaControl/Web.rakumod | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/App/MediaControl/Web.rakumod b/lib/App/MediaControl/Web.rakumod index ed78e77..a4e42d8 100644 --- a/lib/App/MediaControl/Web.rakumod +++ b/lib/App/MediaControl/Web.rakumod @@ -59,7 +59,10 @@ class App::MediaControl::Web { get -> { resource 'index.html' } get -> 'ir.png' { resource 'ir.png' } - get -> 'ir.webmanifest' { template 'ir.webmanifest', request } + get -> 'ir.webmanifest' { + my $root = request.header('ProxyMountRoot') || '/'; + template 'ir.webmanifest', %( :$root ); + } include :$vlc, :$ir, :$media; |