Fixes and logo (#33)

This commit is contained in:
Anthony Stirling
2023-02-04 15:06:27 +00:00
committed by GitHub
parent effbb3a047
commit dd11cfab40
8 changed files with 606 additions and 10 deletions

View File

@@ -33,13 +33,13 @@ public class RearrangePagesPDFController {
return "pdf-organizer";
}
@GetMapping("/delete-pages")
@GetMapping("/remove-pages")
public String pageDeleter(Model model) {
model.addAttribute("currentPage", "delete-pages");
return "delete-pages";
model.addAttribute("currentPage", "remove-pages");
return "remove-pages";
}
@PostMapping("/delete-pages")
@PostMapping("/remove-pages")
public ResponseEntity<byte[]> deletePages(@RequestParam("fileInput") MultipartFile pdfFile,
@RequestParam("pagesToDelete") String pagesToDelete) throws IOException {