Skip to content

Commit aafa005

Browse files
committed
use shared work directory for uploads
1 parent 18c9f59 commit aafa005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firefly/java/edu/caltech/ipac/firefly/server/ws/WsServerUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public String upload(WsServerParams wsParams) throws IOException, FailedRequestE
233233
public File getTempUploadFile(String fileName) throws IOException {
234234
String ext = resolveExt(fileName);
235235

236-
return File.createTempFile("ws-upload", ext, ServerContext.getTempWorkDir());
236+
return File.createTempFile("ws-upload", ext, ServerContext.getUploadDir());
237237
}
238238

239239
public static class WsJson {

0 commit comments

Comments
 (0)