Spaces:
Runtime error
Runtime error
Update app/routes.py
Browse files- app/routes.py +2 -7
app/routes.py
CHANGED
|
@@ -28,16 +28,11 @@ HEADERS = {
|
|
| 28 |
|
| 29 |
auth = Blueprint('auth', __name__)
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
landing = Blueprint('landing', __name__)
|
| 34 |
-
|
| 35 |
-
@landing.route('/')
|
| 36 |
-
def landing_page():
|
| 37 |
return render_template('landing.html')
|
| 38 |
|
| 39 |
|
| 40 |
-
|
| 41 |
@api.route('/rank-resumes', methods=['POST'])
|
| 42 |
def rank_resumes():
|
| 43 |
# 1. Extract and validate API key
|
|
|
|
| 28 |
|
| 29 |
auth = Blueprint('auth', __name__)
|
| 30 |
|
| 31 |
+
@auth.route('/')
|
| 32 |
+
def landing():
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
return render_template('landing.html')
|
| 34 |
|
| 35 |
|
|
|
|
| 36 |
@api.route('/rank-resumes', methods=['POST'])
|
| 37 |
def rank_resumes():
|
| 38 |
# 1. Extract and validate API key
|