Преглед на файлове

Added custom format feature to allow image uploads

Luke Pulverenti преди 12 години
родител
ревизия
e1e35cd4e7
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs

+ 2 - 1
MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs

@@ -161,7 +161,8 @@ namespace MediaBrowser.Server.Implementations.HttpServer
                 LogFactory = LogManager.LogFactory,
 
                 // The Markdown feature causes slow startup times (5 mins+) on cold boots for some users
-                EnableFeatures = Feature.Csv | Feature.Html | Feature.Json | Feature.Jsv | Feature.Metadata | Feature.Xml
+                // Custom format allows images
+                EnableFeatures = Feature.Csv | Feature.Html | Feature.Json | Feature.Jsv | Feature.Metadata | Feature.Xml | Feature.CustomFormat
             });
 
             container.Adapter = _containerAdapter;