huiiz commited on
Commit
2d73c0d
·
1 Parent(s): 21c743b
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import time
2
- from flask import Flask
3
  app = Flask(__name__)
4
 
5
  updates = ["INIT"]
@@ -16,3 +16,4 @@ def update():
16
  current_time = time.ctime()
17
 
18
  updates.append(str(current_time))
 
 
1
  import time
2
+ from flask import Flask, redirect, url_for
3
  app = Flask(__name__)
4
 
5
  updates = ["INIT"]
 
16
  current_time = time.ctime()
17
 
18
  updates.append(str(current_time))
19
+ return redirect(url_for('hello_world'))