Skip to content

Commit

Permalink
redirecting home page to admin-login
Browse files Browse the repository at this point in the history
Signed-off-by: Satish Surath <connect@sati.sh>
  • Loading branch information
satishsurath committed Sep 7, 2023
1 parent 47af53b commit 27b4c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def request_loader(request):
@app.route('/')
@app.route('/index')
def index():
#return redirect(url_for('adminlogin'))
return redirect(url_for('adminlogin'))
#return render_template('index.html')
print(app.config["SHOWALLCOURSESAVAILABLE"])
return render_template('index.html', name=session.get('name'), showAllCoursesAvailable=app.config["SHOWALLCOURSESAVAILABLE"])
Expand Down

0 comments on commit 27b4c41

Please sign in to comment.