Respect base URL in OPDS feed

This commit is contained in:
Alex Ling
2020-06-05 15:18:46 +00:00
parent 012fd71ab4
commit 6ad4385b18
3 changed files with 10 additions and 9 deletions
+1
View File
@@ -133,6 +133,7 @@ def validate_password(password)
end
macro render_xml(path)
base_url = Config.current.base_url
send_file env, ECR.render({{path}}).to_slice, "application/xml"
end