Skip to content

Commit

Permalink
fix setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SIPC committed Feb 24, 2024
1 parent 7059810 commit fed0ca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export default function Home() {
variant={`default`}
disabled={loader.translate}
onClick={submit}
data-umami-event={`${from}>${to}`}
>
{loader.translate && (
<Loader2 className={`h-4 w-4 mr-1 animate-spin`} />
Expand Down

0 comments on commit fed0ca7

Please sign in to comment.