mirror of
https://github.com/hoshikawa2/rfp_response_automation.git
synced 2026-03-03 16:09:35 +00:00
16 lines
420 B
Python
16 lines
420 B
Python
from flask import Blueprint, render_template
|
|
from modules.core.security import requires_app_auth
|
|
from config_loader import load_config
|
|
|
|
home_bp = Blueprint("home", __name__)
|
|
config = load_config()
|
|
API_BASE_URL = f"{config.app_base}:{config.service_port}"
|
|
|
|
@home_bp.route("/")
|
|
@requires_app_auth
|
|
def index():
|
|
return render_template(
|
|
"index.html",
|
|
api_base_url=API_BASE_URL,
|
|
config=config
|
|
) |