Post deploy script

This commit is contained in:
2024-10-03 20:59:18 +08:00
parent 11a9a4a929
commit 34f20e02ae
6 changed files with 41 additions and 14 deletions

View File

@ -60,7 +60,7 @@ func (v *Destination) GetType() DestinationType {
func (v *Destination) GetRawUri() (string, url.Values) {
uri := strings.SplitN(v.Uri, "://", 2)[1]
data := strings.SplitN(uri, "?", 2)
data = append(data, " ") // Make the data array least have two elements
data = append(data, " ") // Make the data array at least have two elements
qs, _ := url.ParseQuery(data[1])
return data[0], qs