rename wapp and webapp to app

This commit is contained in:
Luk Lu
2020-01-02 11:38:55 +08:00
parent 4b1ae530a6
commit 35499f927d
4 changed files with 8 additions and 8 deletions

View File

@@ -5,10 +5,10 @@ module.exports={
production: { production: {
protocol: 'httpall', protocol: 'httpall',
host: 'wapp.vic.yuanjin.net', host: 'app.vic.yuanjin.net',
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置: // 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
sslType: 'file', // greenlock or file sslType: 'file', // greenlock or file
sslDomainList: ['wapp.vic.yuanjin.net'], sslDomainList: ['app.vic.yuanjin.net'],
sslKey: '/etc/letsencrypt/live/server.vic.yuanjin.net/privkey.pem', // ssl key file, sslKey: '/etc/letsencrypt/live/server.vic.yuanjin.net/privkey.pem', // ssl key file,
sslCert: '/etc/letsencrypt/live/server.vic.yuanjin.net/fullchain.pem', // ssl cert file, sslCert: '/etc/letsencrypt/live/server.vic.yuanjin.net/fullchain.pem', // ssl cert file,
sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file, sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file,
@@ -17,7 +17,7 @@ module.exports={
deploy: { deploy: {
from: './dist', // 待部署到的文件夹 from: './dist', // 待部署到的文件夹
type: 'git', type: 'git',
repo: 'https://github.com/vichome/webapp', // 待部署到的主机 repo: 'https://github.com/vichome/app', // 待部署到的主机
gituser: 'vic-team', gituser: 'vic-team',
gitemail: 'vic-team@outlook.com', gitemail: 'vic-team@outlook.com',
password: '', // 登录用户密码 password: '', // 登录用户密码

View File

@@ -1 +1 @@
wapp.vic.yuanjin.net app.vic.yuanjin.net

View File

@@ -9,9 +9,9 @@ export default {
], ],
baseURL: 'https://server.vic.yuanjin.net/v1', baseURL: 'https://server.vic.yuanjin.net/v1',
// baseURL: 'http://yapi.faronear.org/mock/20/v1', // baseURL: 'http://yapi.faronear.org/mock/20/v1',
linkAndroid: 'https://vic.yuanjin.net/app/vic.apk', linkAndroid: 'https://vic.yuanjin.net/downloads/vic.apk',
linkIOS: 'https://wapp.vic.yuanjin.net', linkIOS: 'https://app.vic.yuanjin.net',
linkWeb: 'https://wapp.vic.yuanjin.net', linkWeb: 'https://app.vic.yuanjin.net',
linkTelegram: 'https://t.me/vichome', linkTelegram: 'https://t.me/vichome',
linkWechat: 'https://weixin.qq.com/g/AT997GKdoc9WnieL', linkWechat: 'https://weixin.qq.com/g/AT997GKdoc9WnieL',
linkEmail: 'team-vic@outlook.com', linkEmail: 'team-vic@outlook.com',

View File

@@ -14,5 +14,5 @@ export function generateInviteHref(invite: string): string {
if (isLocalhost) { if (isLocalhost) {
return `${window.location.origin}${postfix}` return `${window.location.origin}${postfix}`
} }
return `https://wapp.vic.yuanjin.net/#${postfix}`; return `https://app.vic.yuanjin.net/#${postfix}`;
} }