Skip to content

Commit

Permalink
add curl url keys
Browse files Browse the repository at this point in the history
  • Loading branch information
link1st committed Jan 16, 2024
1 parent 5383b28 commit ae68625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/curl_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (c *CURL) String() (url string) {

// GetURL 获取url
func (c *CURL) GetURL() (url string) {
keys := []string{"curl", "--url"}
keys := []string{"curl", "--url", "--location"}
value := c.getDataValue(keys)
if len(value) <= 0 {
return
Expand Down

0 comments on commit ae68625

Please sign in to comment.