fix(scripts): api code lives at /app/api/ inside container, not /app/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-01 11:50:56 -04:00
parent a8a1de1cba
commit 29390f064a
+1 -1
View File
@@ -16,7 +16,7 @@ _here = os.path.dirname(os.path.abspath(__file__))
_in_container = os.path.abspath(_here) == '/app/scripts' _in_container = os.path.abspath(_here) == '/app/scripts'
if _in_container: if _in_container:
sys.path.insert(0, '/app') sys.path.insert(0, '/app/api')
_DATA_DIR = '/app/data' _DATA_DIR = '/app/data'
else: else:
ROOT = os.path.normpath(os.path.join(_here, '..')) ROOT = os.path.normpath(os.path.join(_here, '..'))