mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Allow StaticFileHandler Path to be changed
This commit is contained in:
parent
93a0c30ed1
commit
692d9dc331
@ -10,12 +10,22 @@ namespace MediaBrowser.Common.Net.Handlers
|
||||
{
|
||||
public class StaticFileHandler : BaseHandler
|
||||
{
|
||||
private string _Path;
|
||||
public virtual string Path
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(_Path))
|
||||
{
|
||||
return _Path;
|
||||
}
|
||||
|
||||
return QueryString["path"];
|
||||
}
|
||||
set
|
||||
{
|
||||
_Path = value;
|
||||
}
|
||||
}
|
||||
|
||||
private bool FileStreamDiscovered = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user