fix xml?
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m2s
Publish Docker Image / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 56s

This commit is contained in:
Lee 2024-06-07 22:39:46 +01:00
parent da32c3bdfa
commit 88d47ef535

@ -40,7 +40,8 @@ public class IndexController {
return ResponseEntity.ok(Map.of("key", id));
}
@GetMapping(value = "/{id}")
@GetMapping(value = "/{id}", produces = "text/html")
public String paste(@PathVariable String id, Model model) {
try {
Paste paste = pasteService.getPaste(id);
@ -53,7 +54,7 @@ public class IndexController {
}
}
@GetMapping(value = "/raw/{id}")
@GetMapping(value = "/raw/{id}", produces = "text/html")
public String pasteRaw(@PathVariable String id, Model model) {
try {
Paste paste = pasteService.getPaste(id);