mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 08:15:48 +00:00
Refactor GameyfinPlugin and ConfigurableGameyfinPlugin to fix SLF4J issue
This commit is contained in:
@@ -66,8 +66,7 @@ dependencies {
|
||||
implementation("ch.digitalfondue.mjml4j:mjml4j:1.0.3")
|
||||
|
||||
// Plugins
|
||||
implementation(project(":plugin-api"))
|
||||
ksp("care.better.pf4j:pf4j-kotlin-symbol-processing:${rootProject.extra["pf4jKspVersion"]}")
|
||||
compileOnly(project(":plugin-api"))
|
||||
|
||||
// Utils
|
||||
implementation("org.apache.tika:tika-core:3.1.0")
|
||||
|
||||
@@ -30,7 +30,7 @@ class DownloadEndpoint(
|
||||
return when (download) {
|
||||
is FileDownload -> {
|
||||
ResponseEntity.ok()
|
||||
.header("Content-Disposition", "attachment; filename=\"${game.title}.zip\"")
|
||||
.header("Content-Disposition", "attachment; filename=\"${game.title}.${download.fileExtension}\"")
|
||||
.body(StreamingResponseBody { outputStream ->
|
||||
download.data.copyTo(outputStream)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user