🧑‍💻添加更多实用开发配置项 (#555)

This commit is contained in:
呵呵です
2025-07-28 01:31:55 +08:00
committed by GitHub
parent 068c508f57
commit 7a5170936b
5 changed files with 28 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ class HostPage:
async def __aenter__(self) -> str:
return self.page_hash
if not config.tetris.development:
if not config.tetris.dev.enabled:
async def __aexit__(self, exc_type, exc, tb) -> None: # noqa: ANN001
self.pages.pop(self.page_hash, None)