mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: remove REDIS env from sandbox.
This commit is contained in:
parent
c46c631d52
commit
0c8a80897b
|
|
@ -51,7 +51,7 @@ try:
|
|||
import os
|
||||
env = dict(os.environ)
|
||||
for key in list(env.keys()):
|
||||
if key in os.environ and (key.startswith('MAXKB') or key.startswith('POSTGRES') or key.startswith('PG')):
|
||||
if key in os.environ and (key.startswith('MAXKB') or key.startswith('POSTGRES') or key.startswith('PG') or key.startswith('REDIS')):
|
||||
del os.environ[key]
|
||||
locals_v={'{}'}
|
||||
keywords={keywords}
|
||||
|
|
|
|||
Loading…
Reference in New Issue