From fed0ca75246150a8c2c4a2af2ea78f4b233b6610 Mon Sep 17 00:00:00 2001 From: "sipc.ink" <92251518+SIPC@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:00:50 +0800 Subject: [PATCH] fix setup.sh --- setup.sh | 4 ++-- src/pages/index.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 4428e34..0db8c0b 100644 --- a/setup.sh +++ b/setup.sh @@ -109,7 +109,7 @@ EOL -e NIUTRANS_KEY="$niutrans_key" \ -e DEEPL_X_API_URL="$deepl_x_api_url" \ -e BAIDU_APP_ID="$baidu_app_id" \ - -e BAIDU_KEY="$baidu_key" + -e BAIDU_KEY="$baidu_key" \ sipcink/lyrify:online if [ $? -ne 0 ]; then @@ -167,7 +167,7 @@ EOL -e NIUTRANS_KEY="$niutrans_key" \ -e DEEPL_X_API_URL="$deepl_x_api_url" \ -e BAIDU_APP_ID="$baidu_app_id" \ - -e BAIDU_KEY="$baidu_key" + -e BAIDU_KEY="$baidu_key" \ sipcink/lyrify:online if [ $? -ne "0" ]; then diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1c20d82..367cdf2 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -184,6 +184,7 @@ export default function Home() { variant={`default`} disabled={loader.translate} onClick={submit} + data-umami-event={`${from}>${to}`} > {loader.translate && (