feat: add 189cloud driver

This commit is contained in:
Noah Hsu
2022-09-06 14:39:21 +08:00
parent 534d8d30fc
commit a24dfddc2a
19 changed files with 916 additions and 25 deletions

View File

@ -10,7 +10,7 @@ import (
)
func GetApiUrl(r *http.Request) string {
api := setting.GetByKey(conf.ApiUrl)
api := setting.GetStr(conf.ApiUrl)
protocol := "http"
if r != nil {
if r.TLS != nil {