💥 Add /api prefix for json endpoints with redirect
This commit is contained in:
@ -8,10 +8,10 @@ using Swashbuckle.AspNetCore.Annotations;
|
||||
namespace DysonNetwork.Sphere.Connection;
|
||||
|
||||
[ApiController]
|
||||
[Route("/ws")]
|
||||
[Route("/api/ws")]
|
||||
public class WebSocketController(WebSocketService ws, ILogger<WebSocketContext> logger) : ControllerBase
|
||||
{
|
||||
[Route("/ws")]
|
||||
[Route("/api/ws")]
|
||||
[Authorize]
|
||||
[SwaggerIgnore]
|
||||
public async Task TheGateway()
|
||||
|
Reference in New Issue
Block a user