Browse Source

Update homepage URL since swh.app are dead

Alex Zappa 2 years ago
parent
commit
c658e31be4
6 changed files with 7 additions and 7 deletions
  1. 1 1
      README.md
  2. 1 1
      README.zh_hans.md
  3. 1 1
      README.zh_hant.md
  4. 2 2
      alfred/info.plist
  5. 1 1
      app/package.json
  6. 1 1
      src/common/constants.ts

+ 1 - 1
README.md

@@ -3,7 +3,7 @@
 - [简体中文](README.zh_hans.md)
 - [简体中文](README.zh_hans.md)
 - [繁體中文](README.zh_hant.md)
 - [繁體中文](README.zh_hant.md)
 
 
-Homepage: [https://swh.app](https://swh.app)
+Homepage: [https://switchhosts.vercel.app](https://switchhosts.vercel.app)
 
 
 SwitchHosts is an App for managing hosts file, it is based on [Electron](http://electron.atom.io/)
 SwitchHosts is an App for managing hosts file, it is based on [Electron](http://electron.atom.io/)
 , [React](https://facebook.github.io/react/), [UmiJS](https://umijs.org/)
 , [React](https://facebook.github.io/react/), [UmiJS](https://umijs.org/)

+ 1 - 1
README.zh_hans.md

@@ -3,7 +3,7 @@
 - [English](README.md)
 - [English](README.md)
 - [繁體中文](README.zh_hant.md)
 - [繁體中文](README.zh_hant.md)
 
 
-项目主页:[https://swh.app](https://swh.app)
+项目主页:[https://switchhosts.vercel.app](https://switchhosts.vercel.app)
 
 
 SwitchHosts 是一个管理 hosts 文件的应用,基于 [Electron](http://electron.atom.io/)
 SwitchHosts 是一个管理 hosts 文件的应用,基于 [Electron](http://electron.atom.io/)
 、[React](https://facebook.github.io/react/)、[UmiJS](https://umijs.org/)
 、[React](https://facebook.github.io/react/)、[UmiJS](https://umijs.org/)

+ 1 - 1
README.zh_hant.md

@@ -3,7 +3,7 @@
 - [English](README.md)
 - [English](README.md)
 - [简体中文](README.zh_hans.md)
 - [简体中文](README.zh_hans.md)
 
 
-項目主頁:[https://swh.app](https://swh.app)
+項目主頁:[https://switchhosts.vercel.app](https://switchhosts.vercel.app)
 
 
 SwitchHosts 是一個管理 hosts 檔案的應用程式,基於 [Electron](http://electron.atom.io/)
 SwitchHosts 是一個管理 hosts 檔案的應用程式,基於 [Electron](http://electron.atom.io/)
 、[React](https://facebook.github.io/react/)、[UmiJS](https://umijs.org/)
 、[React](https://facebook.github.io/react/)、[UmiJS](https://umijs.org/)

+ 2 - 2
alfred/info.plist

@@ -155,7 +155,7 @@ function run(argv) {
 	<key>readme</key>
 	<key>readme</key>
 	<string>This workflow is for the SwitchHosts App.
 	<string>This workflow is for the SwitchHosts App.
 
 
-https://swh.app</string>
+https://switchhosts.vercel.app</string>
 	<key>uidata</key>
 	<key>uidata</key>
 	<dict>
 	<dict>
 		<key>78D17FD5-9628-4901-A01A-511528D5FC14</key>
 		<key>78D17FD5-9628-4901-A01A-511528D5FC14</key>
@@ -178,6 +178,6 @@ https://swh.app</string>
 	<key>version</key>
 	<key>version</key>
 	<string>1.3.0</string>
 	<string>1.3.0</string>
 	<key>webaddress</key>
 	<key>webaddress</key>
-	<string>https://swh.app</string>
+	<string>https://switchhosts.vercel.app</string>
 </dict>
 </dict>
 </plist>
 </plist>

+ 1 - 1
app/package.json

@@ -9,7 +9,7 @@
     "email": "[email protected]",
     "email": "[email protected]",
     "url": "https://github.com/oldj/SwitchHosts"
     "url": "https://github.com/oldj/SwitchHosts"
   },
   },
-  "homepage": "https://swh.app",
+  "homepage": "https://switchhosts.vercel.app",
   "scripts": {
   "scripts": {
   },
   },
   "license": "Apache-2.0",
   "license": "Apache-2.0",

+ 1 - 1
src/common/constants.ts

@@ -4,7 +4,7 @@
  * @homepage: https://oldj.net
  * @homepage: https://oldj.net
  */
  */
 
 
-export const server_url = 'https://swh.app'
+export const server_url = 'https://switchhosts.vercel.app'
 export const homepage_url = `${server_url}/home/`
 export const homepage_url = `${server_url}/home/`
 export const download_url = `${server_url}/download/`
 export const download_url = `${server_url}/download/`
 export const source_url = 'https://github.com/oldj/SwitchHosts'
 export const source_url = 'https://github.com/oldj/SwitchHosts'