API more matched up to Service.
This commit is contained in:
parent
b8b3f2e1b8
commit
9ca52a6f52
2 changed files with 126 additions and 71 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue