Skip to content

Commit 33e20a0

Browse files
committed
fix: return bytebin URL for viewing dumps
1 parent 0ae13d7 commit 33e20a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/net/william278/husksync/util/UserDataDumper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static UserDataDumper create(@NotNull DataSnapshot.Packed snapshot, @NotN
6565
@NotNull
6666
public String toWeb() {
6767
try {
68-
return uploadDump(toString(), BYTEBIN_URL, "husksync");
68+
return "%s/%s".formatted(BYTEBIN_URL, uploadDump(toString(), BYTEBIN_URL, "husksync"));
6969
} catch (Throwable e) {
7070
plugin.log(Level.SEVERE, "Failed to upload data.", e);
7171
}

0 commit comments

Comments
 (0)