This commit is contained in:
Anthony Stirling 2023-09-14 14:30:39 +01:00
parent 10126ce979
commit cd5bd92a41
5 changed files with 5 additions and 7 deletions

View file

@ -138,10 +138,6 @@ services:
# - /location/of/customFiles:/customFiles/
environment:
- DOCKER_ENABLE_SECURITY=false
```

View file

@ -27,11 +27,13 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import stirling.software.SPDF.model.api.security.SanitizePdfRequest;
import stirling.software.SPDF.utils.WebResponseUtils;
@RestController
@RequestMapping("/api/v1/security")
@Tag(name = "Security", description = "Security APIs")
public class SanitizeController {
@PostMapping(consumes = "multipart/form-data", value = "/sanitize-pdf")

View file

@ -15,7 +15,7 @@ import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.tags.Tag;
@Controller
@Tag(name = "Other", description = "Other APIs")
@Tag(name = "Misc", description = "Miscellaneous APIs")
public class OtherWebController {
@GetMapping("/compress-pdf")
@Hidden

View file

@ -56,7 +56,7 @@ usernameExistsMessage=New Username already exists.
#############
navbar.convert=Convert
navbar.security=Security
navbar.other=Other
navbar.other=Miscellaneous
navbar.darkmode=Dark Mode
navbar.pageOps=Page Operations
navbar.settings=Settings

View file

@ -56,7 +56,7 @@ usernameExistsMessage=New Username already exists.
#############
navbar.convert=Convert
navbar.security=Security
navbar.other=Other
navbar.other=Miscellaneous
navbar.darkmode=Dark Mode
navbar.pageOps=Page Operations
navbar.settings=Settings