mirror of
https://github.com/Jguer/yay
synced 2024-07-21 10:16:10 +00:00
Fix(AUR): Fix end of php use on AUR API (#1685)
* Fixed end of php use on AUR API * Added a / to the end of rpc to respect the AUR RPC doc * Removed the / due to the "AUR unavailable at this moment" error
This commit is contained in:
parent
19d42ae3cd
commit
e9d8894a37
|
@ -27,7 +27,7 @@ func (c *Configuration) extractYayOptions(a *parser.Arguments) {
|
|||
}
|
||||
}
|
||||
|
||||
c.Runtime.AURClient.BaseURL = strings.TrimRight(c.AURURL, "/") + "/rpc.php?"
|
||||
c.Runtime.AURClient.BaseURL = strings.TrimRight(c.AURURL, "/") + "/rpc?"
|
||||
c.AURURL = strings.TrimRight(c.AURURL, "/")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue