From 68f7f85af0181fbe8bee3e7cb708d75864bcffc9 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 31 Jan 2025 00:09:07 +0100 Subject: [PATCH] Removed restrictions for docker --- app.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 114331b6..282cbbfd 100644 --- a/app.py +++ b/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 + #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): # async def dispatch(self, request: Request, call_next):