Skip to content

Commit a9cc82a

Browse files
committed
verapdf-interface: more File() tweaks
1 parent e9e8482 commit a9cc82a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • services/aws-lambda-verapdf-interface/src/main/java/com/equalifyuic/app

services/aws-lambda-verapdf-interface/src/main/java/com/equalifyuic/app/handler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public String handleRequest(String input, Context context) {
3737
String FILE_NAME = new File(path).getName() != "" ? new File(path).getName() : "file.pdf";
3838
int CONNECT_TIMEOUT = 30 * 1000;
3939
int READ_TIMEOUT = 30 * 1000;
40-
File filePath = new File("tmp/" + FILE_NAME);
40+
File filePath = new File("/tmp/" + FILE_NAME);
4141

4242
// Save the PDF to /tmp
4343
try {

0 commit comments

Comments
 (0)