Merge branch 'static_bug' into develop

This commit is contained in:
Micah Lee 2019-10-13 09:55:51 -07:00
commit 24fb942059

View File

@ -68,6 +68,9 @@ class Web:
self.app = Flask(
__name__,
static_folder=self.common.get_resource_path("static"),
static_url_path="/static_".format(
self.common.random_string(16)
), # randomize static_url_path to avoid making /static unusable
template_folder=self.common.get_resource_path("templates"),
)
self.app.secret_key = self.common.random_string(8)