diff --git a/.github/README.md b/.github/README.md index 67b9f3ae4..dc6cb8427 100644 --- a/.github/README.md +++ b/.github/README.md @@ -9,7 +9,7 @@ FilterLists is the independent, comprehensive directory of filter and host lists ## Links | Site | API | | --------------------------------------------------- | ------------------------------------------------------ | -| [v3 (Live, Beta)](https://filterlists.com/) | [v1 (Live, Beta)](https://filterlists.com/api/v1/lists)| +| [v3 (Live, Beta)](https://filterlists.com/) | [v1 (Live, Beta)](https://filterlists.com/api/docs) | | [v2 (Legacy, Frozen)](https://v2.filterlists.com/) | | | [v1 (Legacy, Frozen)](https://v1.filterlists.com/) | | diff --git a/src/FilterLists.Api/Startup.cs b/src/FilterLists.Api/Startup.cs index 063c2787d..0bc24b714 100644 --- a/src/FilterLists.Api/Startup.cs +++ b/src/FilterLists.Api/Startup.cs @@ -55,7 +55,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env) app.UseSwagger(); app.UseSwaggerUI(c => { - c.SwaggerEndpoint("/v1/swagger.json", "FilterLists API V1"); + c.SwaggerEndpoint("/swagger/v1/swagger.json", "FilterLists API V1"); c.RoutePrefix = "docs"; }); app.UseHttpsRedirection();