tomwatto09 commited on
Commit
7230f20
·
verified ·
1 Parent(s): adf72c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -74,6 +74,8 @@ def export_word():
74
  return send_file(filename, as_attachment=True)
75
  except Exception as e:
76
  return jsonify({"error": str(e)}), 500
77
-
 
 
78
  if __name__ == "__main__":
79
  app.run(host="0.0.0.0", port=7860)
 
74
  return send_file(filename, as_attachment=True)
75
  except Exception as e:
76
  return jsonify({"error": str(e)}), 500
77
+ @app.route("/")
78
+ def index():
79
+ return "✅ UniSolve backend is running. Visit via the proper frontend."
80
  if __name__ == "__main__":
81
  app.run(host="0.0.0.0", port=7860)