apply the new link "wapp.log.yuanjin.net"

This commit is contained in:
Luk Lu
2019-11-24 19:39:16 +08:00
parent eb0a647ca9
commit 587fb53942
4 changed files with 5 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ module.exports={
port: undefined, port: undefined,
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置: // 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
sslType: 'file', // greenlock or file sslType: 'file', // greenlock or file
sslDomainList: ['server.vic.yuanjin.net'], sslDomainList: ['wapp.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,

1
public/CNAME Normal file
View File

@@ -0,0 +1 @@
wapp.vic.yuanjin.net

View File

@@ -10,8 +10,8 @@ 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/app/vic.apk',
linkIOS: 'https://vic.yuanjin.net/webapp', linkIOS: 'https://wapp.vic.yuanjin.net',
linkWeb: 'https://vic.yuanjin.net/webapp', linkWeb: 'https://wapp.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://vic.yuanjin.net/webapp/#${postfix}`; return `https://wapp.vic.yuanjin.net/#${postfix}`;
} }