Skip to content

Commit c0a4305

Browse files
authored
Updated ui.py
1 parent 71e7135 commit c0a4305

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • local_nexus_controller/routers

local_nexus_controller/routers/ui.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
router = APIRouter(include_in_schema=False)
1818

1919
templates = Jinja2Templates(directory=str(Path(__file__).resolve().parents[1] / "templates"))
20+
templates.env.auto_reload = True
21+
templates.env.cache = {}
2022

2123

2224
@router.get("/", response_class=HTMLResponse)

0 commit comments

Comments
 (0)