Skip to content

Commit 3b7fecc

Browse files
committed
官方url修改
1 parent f24913d commit 3b7fecc

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## EServer | [中文](https://github.com/xianyunleo/EServer/blob/master/README_zh.md)
22
### A GUI software for Windows and Mac platforms that integrates Nginx, PHP, MySQL, Redis and other servers.
33

4-
## doc:www.eserver.app/doc
4+
## doc:eserver.phpenv.cn/doc
55

66
### The predecessor of this software is phpEnv ,www.phpenv.cn
77

README_zh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## EServer | [English](https://github.com/xianyunleo/EServer/blob/master/README.md)
22
### Windows Mac平台下的一款集成Nginx、PHP、MySQL、Redis等服务的GUI集成环境
33

4-
## 文档:www.eserver.app/doc
4+
## 文档:eserver.phpenv.cn/doc
55

66
### 本软件的前身是 phpEnv ,www.phpenv.cn
77
![主界面](https://github.com/xianyunleo/EServer/raw/master/screenshots/home.png)

src/renderer/components/TitleBar.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ import { ref } from 'vue'
3030
import Native from '@/main/utils/Native'
3131
import { t } from '@/renderer/utils/i18n'
3232
import { isWindows } from '@/main/utils/utils'
33+
import { OFFICIAL_URL } from '@/shared/utils/constant'
3334
const call = window.api.call
3435
const isWindowMax = ref(false)
3536
const minimizeIsHover = ref(false)
3637
3738
const clickUrl = () => {
38-
Native.openUrl('http://www.eserver.app')
39+
Native.openUrl(OFFICIAL_URL)
3940
}
4041
4142
const minimizeClick = () => {

src/renderer/views/About.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<p style="text-align: center; font-size: 18px; margin-top: 50px">{{ APP_NAME }}</p>
44
<p style="text-align: center">{{ $t('Version') }}:{{ version }}</p>
55
<p style="text-align: center">
6-
{{ t('OfficialSite') }}:<a @click="openUrl('http://www.eserver.app')">www.eserver.app</a>
6+
{{ t('OfficialSite') }}:<a @click="openUrl(OFFICIAL_URL)">{{ OFFICIAL_HOST }}</a>
77
</p>
88
<p style="text-align: center">
9-
{{ t('Doc') }}:<a @click="openUrl('http://www.eserver.app/doc')">www.eserver.app/doc</a>
9+
{{ t('Doc') }}:<a @click="openUrl(`${OFFICIAL_URL}/doc`)">{{ `${OFFICIAL_HOST}/doc` }}</a>
1010
</p>
1111
<p style="text-align: center">
1212
Github:<a @click="openUrl('http://github.com/xianyunleo/EServer')"
@@ -17,7 +17,7 @@
1717
</template>
1818

1919
<script setup>
20-
import { APP_NAME } from '@/shared/utils/constant'
20+
import { APP_NAME, OFFICIAL_HOST, OFFICIAL_URL } from '@/shared/utils/constant'
2121
import Native from '@/main/utils/Native'
2222
import { t } from '@/renderer/utils/i18n'
2323
import {onMounted, ref} from 'vue'

src/shared/utils/constant.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export const APP_NAME = 'EServer'
2-
export const DOWNLOAD_URL = 'http://dl.eserver.app'
2+
export const OFFICIAL_HOST = 'eserver.phpenv.cn'
3+
export const OFFICIAL_URL = `http://${OFFICIAL_HOST}`
4+
export const DOWNLOAD_URL = 'http://dl.eserver.phpenv.cn'
35

46
export const colorConst = {
57
light: {

0 commit comments

Comments
 (0)