Fixed issue with temp directory on Linux.

This commit is contained in:
CalDescent 2021-06-25 19:31:13 +01:00
parent ace5d999e2
commit 8973626a4b

View File

@ -197,7 +197,7 @@ public class WebsiteResource {
}
String tempDirectory = System.getProperty("java.io.tmpdir");
String destPath = tempDirectory + "qortal-sites" + File.separator + resourceId;
String destPath = tempDirectory + File.separator + "qortal-sites" + File.separator + resourceId;
String unzippedPath = destPath + File.separator + "data";
if (!Files.exists(Paths.get(unzippedPath))) {