abhicodes commited on
Commit
2a01ddd
1 Parent(s): 21c02e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -148,7 +148,7 @@ def register():
148
  msg["Subject"] = "SmileCheck Verification"
149
  msg["From"] = "smilecheck100@gmail.com"
150
  msg["To"] = email
151
- link = f"http://127.0.0.1:5000/verify/{otp}"
152
 
153
  html_content = render_template('email.html', name=name, link=link)
154
  msg.set_content(html_content, subtype='html')
@@ -270,7 +270,7 @@ def forgot():
270
  msg["Subject"] = "SmileCheck Verification"
271
  msg["From"] = "smilecheck100@gmail.com"
272
  msg["To"] = email
273
- link = f"http://127.0.0.1:5000/password/{otp}"
274
 
275
  html_content = render_template('pass.html', name=name, link=link)
276
  msg.set_content(html_content, subtype='html')
 
148
  msg["Subject"] = "SmileCheck Verification"
149
  msg["From"] = "smilecheck100@gmail.com"
150
  msg["To"] = email
151
+ link = f"https://abhicodes-smilecheck.hf.space/verify/{otp}"
152
 
153
  html_content = render_template('email.html', name=name, link=link)
154
  msg.set_content(html_content, subtype='html')
 
270
  msg["Subject"] = "SmileCheck Verification"
271
  msg["From"] = "smilecheck100@gmail.com"
272
  msg["To"] = email
273
+ link = f"https://abhicodes-smilecheck.hf.space/password/{otp}"
274
 
275
  html_content = render_template('pass.html', name=name, link=link)
276
  msg.set_content(html_content, subtype='html')