fix(backend): allow public access to bbcode editor

This commit is contained in:
MiniDigger | Martin 2023-01-01 22:38:10 +01:00
parent 4cc0866fe5
commit 852e867f58

View File

@ -61,7 +61,6 @@ public class ProjectPageController extends HangarComponent {
return ResponseEntity.ok(this.markdownService.render(content.getContent()));
}
@Unlocked
@RateLimit(overdraft = 10, refillTokens = 3, refillSeconds = 5)
@ResponseBody
@PostMapping(path = "/convert-bbcode", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.TEXT_PLAIN_VALUE)