mirror of
https://github.com/9001/copyparty.git
synced 2026-03-20 23:22:57 +10:00
satisfy cloudflare DDoS protection
This commit is contained in:
@@ -81,7 +81,7 @@ class HttpSrv(object):
|
||||
env.loader = jinja2.FileSystemLoader(os.path.join(E.mod, "web"))
|
||||
self.j2 = {
|
||||
x: env.get_template(x + ".html")
|
||||
for x in ["splash", "browser", "browser2", "msg", "md", "mde"]
|
||||
for x in ["splash", "browser", "browser2", "msg", "md", "mde", "cf"]
|
||||
}
|
||||
self.prism = os.path.exists(os.path.join(E.mod, "web", "deps", "prism.js.gz"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user