]> git.ipfire.org Git - ipfire.org.git/commitdiff
fireinfo: Do not migrate the static handler
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Mar 2024 12:43:40 +0000 (12:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Mar 2024 12:43:40 +0000 (12:43 +0000)
This is only needed when running the webapp for development purposes
without a web server in front of it that would serve static files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/__init__.py

index de561c7ad72d7dace94985ae41f8ec2ae361011d..31aa426ac29a2c4510bda606da03a40bdbc39fd2 100644 (file)
@@ -186,7 +186,6 @@ class Application(tornado.web.Application):
                        (r"/fireinfo/processors", fireinfo.ProcessorsHandler),
                        (r"/fireinfo/releases", fireinfo.ReleasesHandler),
                        (r"/fireinfo/send/([a-z0-9]+)", fireinfo.ProfileSendHandler),
-                       (r"/fireinfo/static/(.*)", tornado.web.StaticFileHandler, { "path" : self.settings.get("static_path") }),
 
                        # Lists
                        (r"/lists", lists.IndexHandler),