From d9e8dba93a5f2379f7cf148175b9238f3d8f597c Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 18 Oct 2023 14:07:03 +0800 Subject: [PATCH] Refine script. --- auto/build-en-stage0.sh | 2 +- auto/build-en-stage1.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/build-en-stage0.sh b/auto/build-en-stage0.sh index 5082ddc5..6bbfd22c 100644 --- a/auto/build-en-stage0.sh +++ b/auto/build-en-stage0.sh @@ -8,7 +8,7 @@ if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then fi yarn && -yarn cross-env REGION='en-us' BASE_URL='/lts/zh-cn/' \ +yarn cross-env REGION='zh-cn' BASE_URL='/lts/zh-cn/' \ SEARCH_HTTPS_HOST=ossrs.io SEARCH_HTTPS_PORT=443 \ SEARCH_HTTP_HOST=ossrs.io SEARCH_HTTP_PORT=80 \ SEARCH_APIKEY=$SEARCH_APIKEY \ diff --git a/auto/build-en-stage1.sh b/auto/build-en-stage1.sh index e99e8785..9204d5d6 100644 --- a/auto/build-en-stage1.sh +++ b/auto/build-en-stage1.sh @@ -8,7 +8,7 @@ if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then fi yarn && -yarn cross-env REGION='en-us' BASE_URL='/lts/en-us/' \ +yarn cross-env REGION='zh-cn' BASE_URL='/lts/en-us/' \ SEARCH_HTTPS_HOST=ossrs.io SEARCH_HTTPS_PORT=443 \ SEARCH_HTTP_HOST=ossrs.io SEARCH_HTTP_PORT=80 \ SEARCH_APIKEY=$SEARCH_APIKEY \