mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Add dlna headers to static responses
This commit is contained in:
parent
1de89cf272
commit
4205dcac9d
25 changed files with 70 additions and 58 deletions
|
|
@ -81,7 +81,8 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
|||
OnReceive(json);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private readonly Task _cachedTask = Task.FromResult(true);
|
||||
/// <summary>
|
||||
/// Sends the async.
|
||||
/// </summary>
|
||||
|
|
@ -94,7 +95,7 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
|||
{
|
||||
UserContext.Send(bytes);
|
||||
|
||||
return Task.FromResult(true);
|
||||
return _cachedTask;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue