Skip to content

Commit 52f3ed1

Browse files
committed
Fix due to rebase to latest changes
1 parent 708d5c2 commit 52f3ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dash_app.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
DASH.layout = body.html
4040
DASH.title = "Penn Medicine CHIME" #! Should be moved into config / out of view
4141

42-
@server.route("/download/<path:path>")
42+
43+
@DASH.server.route("/download/<path:path>")
4344
def download(path):
4445
"""Serve a file from the upload directory."""
4546
return send_from_directory(UPLOAD_DIRECTORY, path, as_attachment=True)
4647

47-
@app.callback(body.callback_outputs, list(body.callback_inputs.values()))
4848

4949
@DASH.callback(body.callback_outputs, list(body.callback_inputs.values()))
5050
def callback(*args): # pylint: disable=W0612

0 commit comments

Comments
 (0)