@@ -2,23 +2,33 @@ GENERATE_SOURCEMAP=false
22
33REACT_APP_NAME = KISS Translator
44REACT_APP_NAME_CN = 简约翻译
5- REACT_APP_VERSION = 2.0.28
5+ REACT_APP_VERSION = 2.0.29
66
77REACT_APP_HOMEPAGE = https://github.com/fishjar/kiss-translator
8- REACT_APP_SITEURL = https://fishjar.github.io/kiss-translator
9- REACT_APP_VERSION_URL = https://fishjar.github.io/kiss-translator/version.txt
108REACT_APP_RELEASES_URL = https://github.com/fishjar/kiss-translator/releases
119
12- REACT_APP_OPTIONSPAGE = https://fishjar.github.io/kiss-translator/options.html
13- REACT_APP_OPTIONSPAGE_DEV = https://kiss-translator.pages.dev/options
14- REACT_APP_OPTIONSPAGE_DEV2 = https://kiss-translator.rayjar.com/options
10+ SITE_ORIGIN_MASTER = https://kiss-translator.rayjar.com
11+ SITE_ORIGIN_GITHUB = https://fishjar.github.io/kiss-translator
12+ SITE_ORIGIN_DEV = https://kiss-translator-dev.rayjar.com
13+
14+ REACT_APP_SITEURL = $SITE_ORIGIN_MASTER
15+ REACT_APP_SITEURL_GITHUB = $SITE_ORIGIN_GITHUB
16+ REACT_APP_SITEURL_DEV = $SITE_ORIGIN_DEV
17+
18+ REACT_APP_VERSION_URL = $SITE_ORIGIN_MASTER /version.txt
19+ REACT_APP_VERSION_URL_GITHUB = $SITE_ORIGIN_GITHUB /version.txt
20+ REACT_APP_VERSION_URL_DEV = $SITE_ORIGIN_DEV /version.txt
21+
22+ REACT_APP_OPTIONSPAGE = $SITE_ORIGIN_MASTER /options
23+ REACT_APP_OPTIONSPAGE_GITHUB = $SITE_ORIGIN_GITHUB /options.html
24+ REACT_APP_OPTIONSPAGE_DEV = $SITE_ORIGIN_DEV /options
1525REACT_APP_OPTIONSPAGE_LOCAL = http://localhost:3000/options.html
1626
17- REACT_APP_LOGOURL = https://fishjar.github.io/kiss-translator /images/logo192.png
27+ REACT_APP_LOGOURL = $SITE_ORIGIN_MASTER /images/logo192.png
1828
1929REACT_APP_RULESURL = https://fishjar.github.io/kiss-rules/kiss-rules_v2.json
2030REACT_APP_RULESURL_ON = https://fishjar.github.io/kiss-rules/kiss-rules-on_v2.json
2131REACT_APP_RULESURL_OFF = https://fishjar.github.io/kiss-rules/kiss-rules-off_v2.json
2232
23- REACT_APP_USERSCRIPT_DOWNLOADURL = https://fishjar.github.io/kiss-translator /kiss-translator.user.js
24- REACT_APP_USERSCRIPT_IOS_DOWNLOADURL = https://fishjar.github.io/kiss-translator /kiss-translator-ios-safari.user.js
33+ REACT_APP_USERSCRIPT_DOWNLOADURL = $SITE_ORIGIN_MASTER /kiss-translator.user.js
34+ REACT_APP_USERSCRIPT_IOS_DOWNLOADURL = $SITE_ORIGIN_MASTER /kiss-translator-ios-safari.user.js
0 commit comments