diff --git a/Kyoo/Startup.cs b/Kyoo/Startup.cs index e9a17eab..7324aa14 100644 --- a/Kyoo/Startup.cs +++ b/Kyoo/Startup.cs @@ -170,7 +170,7 @@ namespace Kyoo app.UseHsts(); } - FileExtensionContentTypeProvider contentTypeProvider = new FileExtensionContentTypeProvider(); + FileExtensionContentTypeProvider contentTypeProvider = new(); contentTypeProvider.Mappings[".data"] = "application/octet-stream"; app.UseStaticFiles(new StaticFileOptions {ContentTypeProvider = contentTypeProvider}); if (!env.IsDevelopment()) diff --git a/install/aur/PKGBUILD b/install/aur/PKGBUILD index 5ad28e43..4e0ca875 100644 --- a/install/aur/PKGBUILD +++ b/install/aur/PKGBUILD @@ -21,6 +21,8 @@ sha256sums=("SKIP" "SKIP" "SKIP" "SKIP") prepare() { # cd "Kyoo-$pkgver" cd "Kyoo" + # This is necessary since submodules paths are relative and PKGBUILD remote are the local directory. + git remote set-url origin https://github.com/AnonymusRaccoon/Kyoo git submodule update --init --recursive }