💥 Add /api prefix for json endpoints with redirect

This commit is contained in:
2025-07-10 14:18:02 +08:00
parent 1f2cdb146d
commit fc6edd7378
43 changed files with 217 additions and 41 deletions

View File

@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore;
namespace DysonNetwork.Sphere.Sticker;
[ApiController]
[Route("/stickers")]
[Route("/api/stickers")]
public class StickerController(AppDatabase db, StickerService st) : ControllerBase
{
private async Task<IActionResult> _CheckStickerPackPermissions(Guid packId, Account.Account currentUser,