add app.log to .gitignore #5
+2
-2
@@ -5,8 +5,8 @@ class Config:
|
|||||||
"""Base configuration for Flask app"""
|
"""Base configuration for Flask app"""
|
||||||
|
|
||||||
SECRET_KEY = os.getenv("SECRET_KEY", "supersecretkey")
|
SECRET_KEY = os.getenv("SECRET_KEY", "supersecretkey")
|
||||||
SIMBRELLA_AUTH_BASE_URL = "https://coreapi.dev.simbrellang.net/v1/api/auth"
|
BANK_CALL_AUTH_BASE_URL = "https://coreapi.dev.simbrellang.net/v1/api/auth"
|
||||||
SIMBRELLA_BASE_URL = "https://coreapi.dev.simbrellang.net/v1/api/salary"
|
BANK_CALL_BASE_URL = "https://coreapi.dev.simbrellang.net/v1/api/salary"
|
||||||
JWT_SECRET_KEY = os.getenv("JWT_SECRET_KEY", "your_jwt_secret")
|
JWT_SECRET_KEY = os.getenv("JWT_SECRET_KEY", "your_jwt_secret")
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import requests
|
|||||||
|
|
||||||
class KafkaIntegration:
|
class KafkaIntegration:
|
||||||
|
|
||||||
BASE_URL = settings.SIMBRELLA_BASE_URL
|
BASE_URL = settings.BANK_CALL_BASE_URL
|
||||||
|
|
||||||
_consumer = None
|
_consumer = None
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ from app.config import settings
|
|||||||
|
|
||||||
auth_bp = Blueprint("auth", __name__)
|
auth_bp = Blueprint("auth", __name__)
|
||||||
|
|
||||||
AUTH_BASE_URL = settings.SIMBRELLA_AUTH_BASE_URL
|
AUTH_BASE_URL = settings.BANK_CALL_AUTH_BASE_URL
|
||||||
BASE_URL = settings.SIMBRELLA_BASE_URL
|
BASE_URL = settings.BANK_CALL_BASE_URL
|
||||||
|
|
||||||
|
|
||||||
@auth_bp.route("/health", methods=["GET"])
|
@auth_bp.route("/health", methods=["GET"])
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ from app.utils.auth import get_headers
|
|||||||
|
|
||||||
eligibility_bp = Blueprint("eligibility", __name__)
|
eligibility_bp = Blueprint("eligibility", __name__)
|
||||||
|
|
||||||
BASE_URL = settings.SIMBRELLA_BASE_URL
|
BASE_URL = settings.BANK_CALL_BASE_URL
|
||||||
|
|
||||||
|
|
||||||
@eligibility_bp.route("/check", methods=["POST"])
|
@eligibility_bp.route("/check", methods=["POST"])
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ from app.utils.auth import get_headers
|
|||||||
|
|
||||||
loan_bp = Blueprint("loan", __name__)
|
loan_bp = Blueprint("loan", __name__)
|
||||||
|
|
||||||
BASE_URL = settings.SIMBRELLA_BASE_URL
|
BASE_URL = settings.BANK_CALL_BASE_URL
|
||||||
|
|
||||||
|
|
||||||
@loan_bp.route("/select-offer", methods=["POST"])
|
@loan_bp.route("/select-offer", methods=["POST"])
|
||||||
|
|||||||
Reference in New Issue
Block a user