File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,5 +71,5 @@ def authorize_cookie(**kwargs):
7171 token_type , jwt_token = auth_token .split (' ' )
7272 verify_access_token (jwt_token , HTTPException (status_code = status .HTTP_403_FORBIDDEN , detail = "Invalid Credentials" ))
7373 return router (** kwargs )
74- return RedirectResponse (app .ui_router .url_path_for ('signin' ))
74+ # return RedirectResponse(app.ui_router.url_path_for('signin'))
7575 return authorize_cookie
Original file line number Diff line number Diff line change 2525
2626@router .get ("/" , status_code = status .HTTP_200_OK )
2727@oauth2 .auth_required
28- async def home (request : Request , response_model = HTMLResponse , db : Session = Depends ( get_db ) ):
28+ async def home (request : Request , response_model = HTMLResponse ):
2929 return TEMPLATES .TemplateResponse ("home/index.html" , {"request" : request })
3030
3131
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ <h6 class="text-dark text-sm font-weight-bold mb-0">New order #9583120</h6>
635635<!-- Specific JS goes HERE -->
636636{% block javascripts %}
637637
638- <!-- < script src="{{ url_for('static', path='js/plugins/chartjs.min.js') }}"></script> -- >
638+ < script src ="{{ url_for('static', path='js/plugins/chartjs.min.js') }} "> </ script >
639639 < script >
640640 var ctx = document . getElementById ( "chart-bars" ) . getContext ( "2d" ) ;
641641
You can’t perform that action at this time.
0 commit comments