Subbu1304 commited on
Commit
b036e8d
·
verified ·
1 Parent(s): d2faf12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,8 +83,8 @@ def index():
83
  def dashboard():
84
  return render_template("dashboard.html") # Render the dashboard template
85
 
86
- @app.route('/register', methods=['POST'])
87
- def register():
88
  data = request.json
89
  name = data.get('name')
90
  email = data.get('email')
 
83
  def dashboard():
84
  return render_template("dashboard.html") # Render the dashboard template
85
 
86
+ @app.route('/submit', methods=['POST'])
87
+ def submit():
88
  data = request.json
89
  name = data.get('name')
90
  email = data.get('email')