This commit is contained in:
BennyThink
2021-06-12 20:50:07 +08:00
parent e6333a4477
commit 03339f5d9e

View File

@@ -717,7 +717,7 @@ class RunServer:
(r'/help.html', HelpHandler),
(r'/api/db_dump', DBDumpHandler),
(r'/', IndexHandler),
(r'/(.*\.html|.*\.js|.*\.css|.*\.png|.*\.jpg|.*\.ico|.*\.gif|.*\.woff2|.*\.gz|.*\.zip|.*\.zip)',
(r'/(.*\.html|.*\.js|.*\.css|.*\.png|.*\.jpg|.*\.ico|.*\.gif|.*\.woff2|.*\.gz|.*\.zip|.*\.svg)',
web.StaticFileHandler,
{'path': static_path}),
]