diff --git a/src/CSharp/EasyMicroservices.Laboratory/Engine/Net/BaseHandler.cs b/src/CSharp/EasyMicroservices.Laboratory/Engine/Net/BaseHandler.cs index 159f422..c8ff18f 100644 --- a/src/CSharp/EasyMicroservices.Laboratory/Engine/Net/BaseHandler.cs +++ b/src/CSharp/EasyMicroservices.Laboratory/Engine/Net/BaseHandler.cs @@ -61,7 +61,7 @@ public static BaseHandler CreateOSHandler(ResourceManager resourceManager) else return new HttpHandler(resourceManager); #else - throw new NotSupportedException("Only support on net6.0 or grater!"); + return new HttpHandler(resourceManager); #endif } }