From 700764823b2be9da61c21e6dd2ca80596c61d6ce Mon Sep 17 00:00:00 2001 From: Zaine Date: Wed, 13 May 2026 16:15:20 +0100 Subject: [PATCH] update the new thing 3 --- authoring_server.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/authoring_server.py b/authoring_server.py index a93a5d8..c427262 100755 --- a/authoring_server.py +++ b/authoring_server.py @@ -68,8 +68,8 @@ POSTS_DIR = ROOT / "posts" LIMA_DIR = ROOT / "lima" IMAGE_ASSETS_DIR = ROOT / "assets" / "images" HZONE_ASSETS_DIR = IMAGE_ASSETS_DIR / "hzone" -HIDDEN_DETAILS_JS = APP_ROOT / "assets" / "scripts" / "hidden-details.js" -HIDDEN_CONTENT_JSON = APP_ROOT / "assets" / "content" / "hidden-details.json" +HIDDEN_DETAILS_JS = ROOT / "assets" / "scripts" / "hidden-details.js" +HIDDEN_CONTENT_JSON = ROOT / "assets" / "content" / "hidden-details.json" HIDDEN_BACKUP_DIR = Path(os.environ.get("AUTHOR_HIDDEN_BACKUP_DIR", APP_ROOT / "backups" / "hidden-details")).expanduser().resolve() EXCLUDED_CONTENT_DIR_NAMES = { ".agents", @@ -1289,8 +1289,8 @@ def load_hidden_store() -> dict[str, Any]: migrated_relationships = bool(normalized_stories) return { "schemaVersion": 2, - "source": HIDDEN_DETAILS_JS.relative_to(APP_ROOT).as_posix(), - "contentPath": HIDDEN_CONTENT_JSON.relative_to(APP_ROOT).as_posix(), + "source": HIDDEN_DETAILS_JS.relative_to(ROOT).as_posix(), + "contentPath": HIDDEN_CONTENT_JSON.relative_to(ROOT).as_posix(), "migratedFromJs": migrated, "migratedRelationshipsToStories": migrated_relationships, "types": HIDDEN_CONTENT_TYPES,