Skip to content

Commit

Permalink
Enforce https on javlibrary url
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 7, 2020
1 parent 536d801 commit d7f64d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Javinizer/Public/Get-JavlibraryUrl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function Get-JavlibraryUrl {
Write-JVLog -Write:$script:JVLogWrite -LogPath $script:JVLogPath -WriteLevel $script:JVLogWriteLevel -Level Warning -Message "[$Id] not matched on JavLibrary"
return
} else {
$javlibraryUrl = $javlibraryUrl -replace 'http://', 'https://'
$javlibraryUrlJa = $javlibraryUrl -replace '/en/', '/ja/'
$javlibraryUrlZh = $javlibraryUrl -replace '/en/', '/cn/'

Expand Down

0 comments on commit d7f64d1

Please sign in to comment.