Fixed bug in path returned to POST /bootstrap/create API.

This commit is contained in:
CalDescent 2021-10-02 19:10:23 +01:00
parent 8eddaa3fac
commit 63a35c97bc

View File

@ -266,7 +266,7 @@ public class Bootstrap {
SevenZ.compress(compressedOutputPath, outputPath.toFile());
// Return the path to the compressed bootstrap file
Path finalPath = Paths.get(outputPath.toString(), compressedOutputPath);
Path finalPath = Paths.get(compressedOutputPath);
return finalPath.toAbsolutePath().toString();
} finally {