Made a better URL validator

This commit is contained in:
xemeds
2020-07-18 21:50:47 +00:00
parent d97b3266c8
commit d6721f27f7
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ def index():
# If the form was valid
if form.validate_on_submit():
return "Valid URL"
return "Valid URL: " + form.url.data
return render_template("index.html", form=form)