Spaces:
Running
Running
File size: 464 Bytes
d646dd7 95f5290 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | """Project paths shared by the web server and frontend tooling.
Keeping the web tree in one place prevents individual routes and reload
scripts from making different assumptions about where templates and static
assets live.
"""
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parents[1]
WEB_ROOT = PROJECT_ROOT / "web"
TEMPLATES_DIR = WEB_ROOT / "templates"
STATIC_DIR = WEB_ROOT / "static"
WORKFLOW_STUDIO_DIR = WEB_ROOT / "workflow-studio"
|