fix help link

This commit is contained in:
Gabe Yuan
2023-09-04 23:12:35 +08:00
parent 4c78f469c1
commit 40adf85b20
2 changed files with 4 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ export const THEME_DARK = "dark";
export const URL_KISS_WORKER = "https://github.com/fishjar/kiss-worker";
export const URL_KISS_PROXY = "https://github.com/fishjar/kiss-proxy";
export const URL_KISS_RULES = "https://github.com/fishjar/kiss-rules";
export const URL_KISS_RULES_NEW_ISSUE =
"https://github.com/fishjar/kiss-rules/issues/new";
export const URL_RAW_PREFIX =
"https://raw.githubusercontent.com/fishjar/kiss-translator/master";
export const URL_MICROSOFT_AUTH = "https://edge.microsoft.com/translate/auth";

View File

@@ -13,7 +13,7 @@ import {
OPT_STYLE_ALL,
OPT_STYLE_DIY,
OPT_STYLE_USE_COLOR,
URL_KISS_RULES,
URL_KISS_RULES_NEW_ISSUE,
} from "../../config";
import { useState, useRef, useEffect, useMemo } from "react";
import { useI18n } from "../../hooks/I18n";
@@ -484,7 +484,7 @@ function HelpButton() {
size="small"
variant="outlined"
onClick={() => {
window.open(URL_KISS_RULES, "_blank");
window.open(URL_KISS_RULES_NEW_ISSUE, "_blank");
}}
startIcon={<HelpIcon />}
>