forked from Ivasoft/opds-proxy
feat: kepub conversions
Working *.epub to *.kepub.epub file conversions when using a Kobo reader. Updated docker file to include `kepubify` to convert to kepub. If not available the file is just sent without conversion.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package html
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net/url"
|
||||
"strings"
|
||||
@@ -103,7 +102,5 @@ func resolveHref(feedUrl string, relativePath string) string {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
resolved := baseUrl.ResolveReference(relativeUrl).String()
|
||||
fmt.Println("Resolved URL: ", resolved)
|
||||
return resolved
|
||||
return baseUrl.ResolveReference(relativeUrl).String()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user