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:
@@ -16,7 +16,7 @@ _here = os.path.dirname(os.path.abspath(__file__))
|
||||
_in_container = os.path.abspath(_here) == '/app/scripts'
|
||||
|
||||
if _in_container:
|
||||
sys.path.insert(0, '/app')
|
||||
sys.path.insert(0, '/app/api')
|
||||
_DATA_DIR = '/app/data'
|
||||
else:
|
||||
ROOT = os.path.normpath(os.path.join(_here, '..'))
|
||||
|
||||
Reference in New Issue
Block a user