李昊 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();