Skip to content

Commit

Permalink
Update DUrlBuilder.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Oct 19, 2023
1 parent ba690bd commit c87cddb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public UrlBuilder url(String url) {
public UrlBuilder path(String path) {
if (path.startsWith("http") && path.contains("://")) {
buffer.setLength(0);
buffer.append(path);
return this;
}
buffer.append("/").append(path);
Expand Down

0 comments on commit c87cddb

Please sign in to comment.