Explorar el Código

Added custom format feature to allow image uploads

Luke Pulverenti hace 12 años
padre
commit
e1e35cd4e7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;