mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Fix UploadUrl Concatenation
This commit is contained in:
parent
c940260462
commit
5c2c845dc8
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ $FileHeaders = @{
|
||||||
$FileName = [System.IO.Path]::GetFileName($ExeFilePath)
|
$FileName = [System.IO.Path]::GetFileName($ExeFilePath)
|
||||||
|
|
||||||
Invoke-RestMethod `
|
Invoke-RestMethod `
|
||||||
-Uri "$UploadUrl?name=$FileName" `
|
-Uri "$($UploadUrl)?name=$FileName" `
|
||||||
-Method POST `
|
-Method POST `
|
||||||
-Headers $FileHeaders `
|
-Headers $FileHeaders `
|
||||||
-InFile $ExeFilePath `
|
-InFile $ExeFilePath `
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue