playmak3r commited on
Commit
557abd4
1 Parent(s): 001000b

fix: /filename path

Browse files
Files changed (1) hide show
  1. server/app.py +1 -1
server/app.py CHANGED
@@ -49,7 +49,7 @@ def index():
49
 
50
  @app.route('/<path:filename>')
51
  def download_file(filename):
52
- return send_from_directory('.', filename)
53
 
54
  @app.route('/assets/<path:filename>')
55
  def download_assets(filename):
 
49
 
50
  @app.route('/<path:filename>')
51
  def download_file(filename):
52
+ return send_from_directory('dist', filename)
53
 
54
  @app.route('/assets/<path:filename>')
55
  def download_assets(filename):