File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed
auth-api/src/auth_api/services/gcp_queue Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ def ensure_authorized_queue_user(f):
34
34
"""Ensures the user is authorized to use the queue."""
35
35
@functools .wraps (f )
36
36
def decorated_function (* args , ** kwargs ):
37
- if current_app .config .get ('DEBUG_REQUEST' ) is True :
38
- current_app .logger .info (f'Headers: { request .headers } ' )
39
37
# Use CacheControl to avoid re-fetching certificates for every request.
40
38
if verify_jwt (CacheControl (Session ())):
41
39
abort (HTTPStatus .UNAUTHORIZED )
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ tag: push ## tag image
131
131
# ################################################################################
132
132
133
133
run : # # Run the project in local
134
- . venv/bin/activate && python app.py
134
+ . venv/bin/activate && python -m flask run -p 5002
135
135
136
136
# ################################################################################
137
137
# Self Documenting Commands #
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ tag: push ## tag image
131
131
# ################################################################################
132
132
133
133
run : # # Run the project in local
134
- . venv/bin/activate && python app.py
134
+ . venv/bin/activate && python -m flask run -p 5001
135
135
136
136
# ################################################################################
137
137
# Self Documenting Commands #
Original file line number Diff line number Diff line change 1
- # Copyright © 2019 Province of British Columbia
1
+ # Copyright © 2024 Province of British Columbia
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments