瀏覽代碼

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;