We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2cf36 commit b751cb9Copy full SHA for b751cb9
src/ScriptCs.WebApi/WebApi.cs
@@ -15,9 +15,9 @@ public HttpSelfHostServer CreateServer(HttpSelfHostConfiguration config)
15
config.Services.Replace(typeof(IHttpControllerTypeResolver), new ControllerResolver(caller));
16
17
config.Routes.MapHttpRoute(name: "DefaultApi",
18
- routeTemplate: "{controller}/{id}",
19
- defaults: new { id = RouteParameter.Optional }
20
- );
+ routeTemplate: "{controller}/{id}",
+ defaults: new { id = RouteParameter.Optional }
+ );
21
return new HttpSelfHostServer(config);
22
}
23
0 commit comments