API more matched up to Service.

This commit is contained in:
Yaro Kasear 2025-10-07 09:59:00 -05:00
parent b8b3f2e1b8
commit 9ca52a6f52
2 changed files with 126 additions and 71 deletions

View file

@ -89,7 +89,7 @@ def create_app(config_cls=crudkit.DevConfig) -> Flask:
except Exception:
pass
if app.config.get("PROFILE", True):
if app.config.get("PROFILE", False):
# Use an absolute dir under the instance path (always writable)
inst_dir = Path(app.instance_path)
inst_dir.mkdir(parents=True, exist_ok=True)