mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
rename opds.html to .xml
This commit is contained in:
parent
5baaac67ef
commit
0edbd858d4
|
@ -185,9 +185,9 @@ class HttpSrv(object):
|
||||||
"shares",
|
"shares",
|
||||||
"splash",
|
"splash",
|
||||||
"svcs",
|
"svcs",
|
||||||
"opds", # TODO: not actually html
|
|
||||||
]
|
]
|
||||||
self.j2 = {x: env.get_template(x + ".html") for x in jn}
|
self.j2 = {x: env.get_template(x + ".html") for x in jn}
|
||||||
|
self.j2["opds"] = env.get_template("opds.xml")
|
||||||
self.prism = has_resource(self.E, "web/deps/prism.js.gz")
|
self.prism = has_resource(self.E, "web/deps/prism.js.gz")
|
||||||
|
|
||||||
if self.args.ipu:
|
if self.args.ipu:
|
||||||
|
|
Loading…
Reference in a new issue