Skip to content

Commit

Permalink
add webdav support for status display with rclone (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: Erina Init <[email protected]>
  • Loading branch information
2403772980ygy and ErinaInit authored Nov 26, 2024
1 parent d76ce86 commit 2d9bc68
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 2d9bc68

Please sign in to comment.