1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-16 12:20:12 +01:00
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