mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-10 12:41:16 +00:00
Removed restrictions for docker
This commit is contained in:
parent
4bcb5765a4
commit
68f7f85af0
8
app.py
8
app.py
@ -231,8 +231,14 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
if args.force_accept_remote_access:
|
if args.force_accept_remote_access: # Used for docker
|
||||||
config.force_accept_remote_access = True
|
config.force_accept_remote_access = True
|
||||||
|
#this is turned off
|
||||||
|
config.turn_on_setting_update_validation = False
|
||||||
|
config.turn_on_code_validation = False
|
||||||
|
config.turn_on_open_file_validation = False
|
||||||
|
config.turn_on_setting_update_validation = False
|
||||||
|
|
||||||
|
|
||||||
# class EndpointSpecificCORSMiddleware(BaseHTTPMiddleware):
|
# class EndpointSpecificCORSMiddleware(BaseHTTPMiddleware):
|
||||||
# async def dispatch(self, request: Request, call_next):
|
# async def dispatch(self, request: Request, call_next):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user