Kastg commited on
Commit
5a23c5b
·
verified ·
1 Parent(s): e8494d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import datetime
7
  app = Flask(__name__)
8
 
9
  # Define the path to static files
10
- static_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static')
11
 
12
  @app.route('/')
13
  def index():
@@ -57,6 +57,6 @@ def status():
57
  @app.errorhandler(404)
58
  def page_not_found(e):
59
  return send_from_directory(static_dir, '404.html'), 404
60
-
61
  if __name__ == "__main__":
62
  app.run(host="0.0.0.0", port=7860, debug=True)
 
7
  app = Flask(__name__)
8
 
9
  # Define the path to static files
10
+ static_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
11
 
12
  @app.route('/')
13
  def index():
 
57
  @app.errorhandler(404)
58
  def page_not_found(e):
59
  return send_from_directory(static_dir, '404.html'), 404
60
+
61
  if __name__ == "__main__":
62
  app.run(host="0.0.0.0", port=7860, debug=True)