Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Removed SSL. When shipping, we will encourage using Reverse Proxy.

Joseph Milazzobe6d4f2d096a
diff --git a/API/Entities/LibraryType.cs b/API/Entities/LibraryType.cs
index 6061e3e8f..944279a25 100644
--- a/API/Entities/LibraryType.cs
+++ b/API/Entities/LibraryType.cs
@@ -9,6 +9,8 @@ namespace API.Entities
[Description("Comic")]
Comic = 1,
[Description("Book")]
- Book = 2
+ Book = 2,
+ [Description("Webtoon")]
+ Webtoon = 3
}
}
\ No newline at end of file
diff --git a/API/Startup.cs b/API/Startup.cs
index 1aee5cecc..805d280c8 100644
--- a/API/Startup.cs
+++ b/API/Startup.cs
@@ -45,12 +45,12 @@ namespace API
app.UseHangfireDashboard();
}
- app.UseHttpsRedirection();
+ //app.UseHttpsRedirection();
app.UseRouting();
// Ordering is important. Cors, authentication, authorization
- app.UseCors(policy => policy.AllowAnyHeader().AllowAnyMethod().WithOrigins("https://localhost:4200"));
+ app.UseCors(policy => policy.AllowAnyHeader().AllowAnyMethod().WithOrigins("http://localhost:4200"));
app.UseAuthentication();