mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 13:36:50 +01:00
Fix routing in ControlPanelController
- This was generating an unnecessary 301 when getting `/app` instead of `/app`.
This commit is contained in:
@@ -123,7 +123,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
/// </summary>
|
||||
/// <param name="appRoute">The value of the route.</param>
|
||||
/// <returns>The <see cref="VirtualFileResult"/> to use.</returns>
|
||||
[Route("{**appRoute}")]
|
||||
[Route("/{**appRoute}")]
|
||||
[HttpGet]
|
||||
public IActionResult Get([FromRoute] string appRoute)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user