Yash goyal commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -278,6 +278,9 @@ def generate_pdf(report, filepath):
|
|
| 278 |
|
| 279 |
c.save()
|
| 280 |
|
|
|
|
|
|
|
|
|
|
| 281 |
|
| 282 |
@app.route("/form")
|
| 283 |
def form():
|
|
|
|
| 278 |
|
| 279 |
c.save()
|
| 280 |
|
| 281 |
+
@app.route("/")
|
| 282 |
+
def home():
|
| 283 |
+
return redirect(url_for("form"))
|
| 284 |
|
| 285 |
@app.route("/form")
|
| 286 |
def form():
|