Add SmartTools Registry with Web UI (Phase 1-7) #18

Merged
rob merged 13 commits from feature/registry into main 2026-01-01 01:21:40 +00:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 9070029d31 - Show all commits

View File

@ -1,11 +1,15 @@
"""Web UI blueprint for SmartTools."""
import os
from flask import Blueprint
# Use absolute paths for templates and static folders
_pkg_dir = os.path.dirname(os.path.abspath(__file__))
web_bp = Blueprint(
"web",
__name__,
template_folder="templates",
static_folder="static",
template_folder=os.path.join(_pkg_dir, "templates"),
static_folder=os.path.join(_pkg_dir, "static"),
static_url_path="/static",
)