Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 28, 2023
1 parent a8a0330 commit c35608c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ e2e:
[ -d "./venv" ] && . ./venv/bin/activate
export FLASK_APP=$(CURDIR)/cre.py
export FLASK_CONFIG=development
FLASK_CONFIG=development flask run&
flask run&
sleep 5
yarn test:e2e
killall yarn
killall flask
Expand Down
1 change: 0 additions & 1 deletion application/web/web_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ def page_not_found(e) -> Any:
@app.route("/<path:path>")
# @cache.cached(timeout=50)
def index(path: str) -> Any:
print(1)
if path != "" and os.path.exists(app.static_folder + "/" + path):
return send_from_directory(app.static_folder, path)
else:
Expand Down

0 comments on commit c35608c

Please sign in to comment.