Credential of administration api
All checks were successful
release-nightly / build-docker (push) Successful in 1m3s

This commit is contained in:
2023-11-25 00:34:51 +08:00
parent c4c6638144
commit b1a6364618
6 changed files with 107 additions and 24 deletions

View File

@ -25,6 +25,7 @@ func (v *UpstreamConfig) GetType() string {
protocol := strings.SplitN(v.URI, "://", 2)[0]
switch protocol {
case "file":
case "files":
return UpstreamTypeFile
case "http":
case "https":