diff --git a/main.py b/main.py index d6713f9..1de6ffc 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,6 @@ inpDir = "C:/inpfiles/" tmpDir = "C:/tmpfiles/" lockedPrjs = {} -isSimulaion = False if not os.path.exists(inpDir): os.mkdir(inpDir) @@ -34,6 +33,8 @@ if not os.path.exists(tmpDir): app = FastAPI() +isSimulaion = False + app.add_middleware(GZipMiddleware, minimum_size=1000) ############################################################