Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add webdav support for status display with rclone #96

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

2403772980ygy
Copy link
Contributor

The status page is having issues displaying repos with rclone & webdav, namely saltproject.

This PR aims to add support for this setup.

@@ -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":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

提示:Golang 的 case 支持这个语法:

case "a", "b":

如果想的话可以改一下。

@taoky taoky merged commit 2d9bc68 into ustclug:main Nov 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants