李昊 5 年之前
父節點
當前提交
eb179954a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Api/GxPress.Api/Startup.cs

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/Startup.cs

@@ -112,7 +112,7 @@ namespace GxPress.Api
         {
             var provider = new FileExtensionContentTypeProvider();
             // Add new mappings
-            provider.Mappings[".epub"] = "application/x-msdownload";
+            provider.Mappings[".epub"] = "application/octet-stream";
             if (env.IsDevelopment())
             {
                 app.UseDeveloperExceptionPage();