This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 405102671135150e3befd1c4f3646634ff2c284f
Author: Shad Storhaug <[email protected]>
AuthorDate: Thu Nov 19 02:53:55 2020 +0700

    websites/apidocs/docs.ps1: Trim any trailing slash from $BaseUrl
---
 websites/apidocs/docs.ps1 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/websites/apidocs/docs.ps1 b/websites/apidocs/docs.ps1
index 5fab410..286655c 100644
--- a/websites/apidocs/docs.ps1
+++ b/websites/apidocs/docs.ps1
@@ -38,6 +38,7 @@ param (
 if ($BaseUrl -eq 'https://lucenenet.apache.org/docs/') {
     $BaseUrl += $LuceneNetVersion
 }
+$BaseUrl = $BaseUrl.TrimEnd('/') # Remove any trailing slash
 Write-Host "Base URL for xref map set to $BaseUrl"
 
 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Reply via email to