From 63a35c97bc7005fae064bd8ec9d3f76dd8df172f Mon Sep 17 00:00:00 2001 From: CalDescent Date: Sat, 2 Oct 2021 19:10:23 +0100 Subject: [PATCH] Fixed bug in path returned to POST /bootstrap/create API. --- src/main/java/org/qortal/repository/Bootstrap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/qortal/repository/Bootstrap.java b/src/main/java/org/qortal/repository/Bootstrap.java index a139f381..5c190871 100644 --- a/src/main/java/org/qortal/repository/Bootstrap.java +++ b/src/main/java/org/qortal/repository/Bootstrap.java @@ -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 {