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 594ebb3 commit f582bebCopy full SHA for f582beb
src/MalwareSampleExchange.Console/Controllers/HomeController.cs
@@ -0,0 +1,17 @@
1
+using Microsoft.AspNetCore.Authorization;
2
+
3
+namespace MalwareSampleExchange.Console.Controllers;
4
+using Microsoft.AspNetCore.Mvc;
5
6
+[ApiController]
7
+[Route("")]
8
+[ApiExplorerSettings(IgnoreApi = true)]
9
+public class HomeController : ControllerBase
10
+{
11
+ [AllowAnonymous]
12
+ [HttpGet]
13
+ public IActionResult Get()
14
+ {
15
+ return Redirect("~/swagger/index.html");
16
+ }
17
+}
src/MalwareSampleExchange.Console/MalwareSampleExchange.Console.csproj
@@ -41,8 +41,4 @@
41
<ItemGroup>
42
<Folder Include="Properties\" />
43
</ItemGroup>
44
- <ItemGroup>
45
- <_ContentIncludedByDefault Remove="wwwroot\index.html" />
46
- <_ContentIncludedByDefault Remove="wwwroot\web.config" />
47
- </ItemGroup>
48
</Project>
0 commit comments