try fix swagger endpoint url

ref #131
This commit is contained in:
Collin M. Barrett 2018-06-06 19:02:27 -05:00
parent e38d091174
commit b3b9883487

View file

@ -57,7 +57,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
app.UseSwagger(UseLowercaseControllerNameInSwaggerHack);
app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint("../swagger/v1/swagger.json", "FilterLists API V1");
c.SwaggerEndpoint("/swagger/v1/swagger.json", "FilterLists API V1");
c.RoutePrefix = "docs";
});
app.UseHttpsRedirection();