nagasurendra commited on
Commit
9277a2f
·
verified ·
1 Parent(s): 623ecd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -41,6 +41,14 @@ def generate_referral_code(length=8):
41
  @app.route("/")
42
  def home():
43
  return render_template("menu.html")
 
 
 
 
 
 
 
 
44
 
45
  from datetime import datetime
46
 
 
41
  @app.route("/")
42
  def home():
43
  return render_template("menu.html")
44
+ @app.route('/')
45
+ def home():
46
+ # Get email and name from the URL query parameters
47
+ email = request.args.get('email')
48
+ name = request.args.get('name')
49
+
50
+ # Use email and name as needed (e.g., display them in the page)
51
+ return render_template('index.html', email=email, name=name)
52
 
53
  from datetime import datetime
54