ruv commited on
Commit
8e31f58
·
verified ·
1 Parent(s): 9c56355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -22,5 +22,9 @@ def get_data():
22
  def serve_index():
23
  return send_from_directory('public', 'index.html')
24
 
 
 
 
 
25
  if __name__ == "__main__":
26
  app.run(host="0.0.0.0", port=7860)
 
22
  def serve_index():
23
  return send_from_directory('public', 'index.html')
24
 
25
+ @app.route('/static/js/<path:path>')
26
+ def serve_static_js(path):
27
+ return send_from_directory('public/static/js', path)
28
+
29
  if __name__ == "__main__":
30
  app.run(host="0.0.0.0", port=7860)