luojunhui hace 3 semanas
padre
commit
215351c417
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      vector_app.py

+ 2 - 1
vector_app.py

@@ -33,5 +33,6 @@ async def shutdown():
 
 # 注册路由
 from routes import server_bp
-app.config['MAX_CONTENT_LENGTH'] = 100 * 1024 * 1024
+
+app.config["MAX_CONTENT_LENGTH"] = 100 * 1024 * 1024
 app.register_blueprint(server_bp)