from flask import Blueprint, render_template main_bp = Blueprint('main', __name__) @main_bp.route('/') def home(): """Serves the main index.html page.""" # No JWT required here, JS handles auth state based on stored token return render_template('index.html') # Add any other top-level non-API routes here if needed later. # For example, an '/about' page: # @main_bp.route('/about') # def about(): # return render_template('about.html') # Assuming you create about.html