mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 14:52:58 +00:00
fix: fix sandbox_path.
This commit is contained in:
parent
8f851aab61
commit
8842319805
|
|
@ -23,7 +23,7 @@ class FunctionExecutor:
|
|||
def __init__(self, sandbox=False):
|
||||
self.sandbox = sandbox
|
||||
if sandbox:
|
||||
self.sandbox_path = '/opt/maxkb/app/sandbox'
|
||||
self.sandbox_path = '/opt/maxkb-app/sandbox'
|
||||
self.user = 'sandbox'
|
||||
else:
|
||||
self.sandbox_path = os.path.join(PROJECT_DIR, 'data', 'sandbox')
|
||||
|
|
|
|||
Loading…
Reference in New Issue