新增按条件选择使用哪种Web框架
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Nancy;
|
||||
#if Nancy
|
||||
using Nancy;
|
||||
using Nancy.Bootstrapper;
|
||||
using Nancy.Configuration;
|
||||
using Nancy.Conventions;
|
||||
@@ -51,5 +52,5 @@ namespace 电子展板.WebModule
|
||||
pipelines.AfterRequest.AddItemToEndOfPipeline(x => x.Response.Headers.Add("Access-Control-Allow-Methods", "*"));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user