aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/views/__init__.py
blob: 91966d4e5df1459dcacec9e7b935e0764f4fe968 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
#
# SPDX-License-Identifier: BSD-3-Clause

"""Register all views under the historic root Blueprint."""

from flask import Blueprint

root_page = Blueprint("root", __name__)


def register_routes() -> Blueprint:
    """Import task-backed view handlers after Huey initialization and return the Blueprint."""
    from . import admin, endpoint, session  # noqa: F401

    return root_page