Skip to content

Commit

Permalink
add webdav support for status display with rclone
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinaInit committed Nov 14, 2024
1 parent 9df3ab5 commit 0f99080
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/server/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ func getUpstream(image string, envs model.StringMap) (upstream string) {
domain = envs["RCLONE_CONFIG_REMOTE_URL"]
case "s3":
domain = envs["RCLONE_CONFIG_REMOTE_ENDPOINT"]
case "webdav":
domain = envs["RCLONE_CONFIG_REMOTE_URL"]
}
return fmt.Sprintf("%s%s", domain, path)
case "rubygems":
Expand Down

0 comments on commit 0f99080

Please sign in to comment.