mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-20 17:16:42 +00:00
fixed dashboard caching option
This commit is contained in:
@@ -19,7 +19,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||
/// Gets or sets the source stream.
|
||||
/// </summary>
|
||||
/// <value>The source stream.</value>
|
||||
public Stream SourceStream { get; set; }
|
||||
private Stream SourceStream { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The _options
|
||||
@@ -53,6 +53,17 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||
Options["Content-Type"] = contentType;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="StreamWriter"/> class.
|
||||
/// </summary>
|
||||
/// <param name="source">The source.</param>
|
||||
/// <param name="contentType">Type of the content.</param>
|
||||
/// <param name="logger">The logger.</param>
|
||||
public StreamWriter(byte[] source, string contentType, ILogger logger)
|
||||
: this(new MemoryStream(source), contentType, logger)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Writes to.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user