Browse Source

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

bootstrap
CalDescent 3 years ago
parent
commit
63a35c97bc
  1. 2
      src/main/java/org/qortal/repository/Bootstrap.java

2
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 {

Loading…
Cancel
Save