Skip to content

Commit

Permalink
[/] 修复flask static 导致的 /static/*** 路径无法镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
aploium committed Sep 22, 2016
1 parent f368a6f commit 9446319
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zmirror/zmirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ def _regex_generate__basic_mirrorlization():

app = Flask( # type: Flask
__name__ if not unittest_mode
else 'unittest' + str(random.random()).replace('.', '')
else 'unittest' + str(random.random()).replace('.', ''),
static_folder=None,
template_folder=None,
)


Expand Down

0 comments on commit 9446319

Please sign in to comment.