rename app.vic.yuanjin.net to vic-app.bittic.org
This commit is contained in:
@@ -5,13 +5,13 @@ module.exports={
|
|||||||
|
|
||||||
production: {
|
production: {
|
||||||
protocol: 'httpall',
|
protocol: 'httpall',
|
||||||
host: 'app.vic.yuanjin.net',
|
host: 'vic-app.bittic.org',
|
||||||
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
|
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
|
||||||
sslType: 'file', // greenlock or file
|
sslType: 'file', // greenlock or file
|
||||||
sslDomainList: ['app.vic.yuanjin.net'],
|
sslDomainList: ['vic-app.bittic.org'],
|
||||||
sslKey: '/etc/letsencrypt/live/server.vic.yuanjin.net/privkey.pem', // ssl key file,
|
sslKey: '/etc/letsencrypt/live/vic-server.bittic.org/privkey.pem', // ssl key file,
|
||||||
sslCert: '/etc/letsencrypt/live/server.vic.yuanjin.net/fullchain.pem', // ssl cert file,
|
sslCert: '/etc/letsencrypt/live/vic-server.bittic.org/fullchain.pem', // ssl cert file,
|
||||||
sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file,
|
sslCA: '/etc/letsencrypt/live/vic-server.bittic.org/bundle.pem', // ssl ca file,
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -8,4 +8,33 @@ module.exports={
|
|||||||
password: '', // 登录用户密码
|
password: '', // 登录用户密码
|
||||||
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
deploy: {
|
||||||
|
fromPath: "./dist",
|
||||||
|
gotoTarget: "github",
|
||||||
|
github: {
|
||||||
|
targetType: "git",
|
||||||
|
repo: "https://github.com/tuc-vic/vic.bittic.org",
|
||||||
|
branch: "main",
|
||||||
|
gitname: "log-team",
|
||||||
|
gitemail: "log-team@outlook.com",
|
||||||
|
url: 'http://vic.bittic.org'
|
||||||
|
},
|
||||||
|
vultr: {
|
||||||
|
targetType: "ssh",
|
||||||
|
host: "vic.bittic.org",
|
||||||
|
targetPath: "/faronear/tuc-vic/vic.webhome.hexo",
|
||||||
|
targetDir: "public",
|
||||||
|
user: "adot",
|
||||||
|
password: "",
|
||||||
|
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||||
|
},
|
||||||
|
unicloud: {
|
||||||
|
targetType: "serverless",
|
||||||
|
space: "cn-bittic-vic",
|
||||||
|
url: "http://vic.bittic.cn",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|||||||
18
package.json
18
package.json
@@ -2,12 +2,13 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"name": "vic.user.react",
|
"name": "vic.user.react",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "umi dev",
|
"boot": "npx run-script-os",
|
||||||
"build": "umi build",
|
"boot:nix": "rm -fr node_modules && rm -fr package-lock.json && npm i",
|
||||||
"test": "umi test",
|
"boot:windows": "npx rimraf node_modules package-lock.json & npm i",
|
||||||
"lint:es": "eslint --ext .js src mock tests",
|
"lint:es": "eslint --ext .js src mock tests",
|
||||||
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
|
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
|
||||||
"dev": "umi dev",
|
"dev": "umi dev",
|
||||||
|
"test": "umi test",
|
||||||
"dist": "umi build",
|
"dist": "umi build",
|
||||||
"deploy": "node ./node_modules/sol.deployer/deploy.js",
|
"deploy": "node ./node_modules/sol.deployer/deploy.js",
|
||||||
"allinone": "npm run dist && npm run deploy",
|
"allinone": "npm run dist && npm run deploy",
|
||||||
@@ -31,6 +32,7 @@
|
|||||||
"react-virtualized-auto-sizer": "^1.0.2",
|
"react-virtualized-auto-sizer": "^1.0.2",
|
||||||
"react-window": "^1.8.5",
|
"react-window": "^1.8.5",
|
||||||
"react-window-infinite-loader": "^1.0.3",
|
"react-window-infinite-loader": "^1.0.3",
|
||||||
|
"sol.deployer": "git+https://git.faronear.org/npm/sol.deployer",
|
||||||
"umi-plugin": "^0.1.2"
|
"umi-plugin": "^0.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -42,7 +44,6 @@
|
|||||||
"babel-eslint": "^10.0.2",
|
"babel-eslint": "^10.0.2",
|
||||||
"bluebird": "^3.5.5",
|
"bluebird": "^3.5.5",
|
||||||
"chalk": "^2.4.2",
|
"chalk": "^2.4.2",
|
||||||
"sol.deployer": "git+https://git.faronear.org/npm/sol.deployer",
|
|
||||||
"eslint": "^6.2.1",
|
"eslint": "^6.2.1",
|
||||||
"eslint-config-umi": "^1.5.0",
|
"eslint-config-umi": "^1.5.0",
|
||||||
"eslint-plugin-flowtype": "^4.2.0",
|
"eslint-plugin-flowtype": "^4.2.0",
|
||||||
@@ -54,8 +55,12 @@
|
|||||||
"husky": "^3.0.4",
|
"husky": "^3.0.4",
|
||||||
"lint-staged": "^9.2.3",
|
"lint-staged": "^9.2.3",
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"pm2": "^3.5.0",
|
"nodemon": "^2.0.2",
|
||||||
|
"pm2": "^4.5.0",
|
||||||
"react-test-renderer": "^16.7.0",
|
"react-test-renderer": "^16.7.0",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
|
"run-script-os": "^1.1.6",
|
||||||
|
"sol.webserver": "git+https://git.faronear.org/npm/sol.webserver",
|
||||||
"supervisor": "^0.12.0",
|
"supervisor": "^0.12.0",
|
||||||
"swig-templates": "^2.0.3",
|
"swig-templates": "^2.0.3",
|
||||||
"tslint": "^5.19.0",
|
"tslint": "^5.19.0",
|
||||||
@@ -63,8 +68,7 @@
|
|||||||
"tslint-react": "^4.0.0",
|
"tslint-react": "^4.0.0",
|
||||||
"umi": "^2.8.20",
|
"umi": "^2.8.20",
|
||||||
"umi-plugin-react": "^1.9.19",
|
"umi-plugin-react": "^1.9.19",
|
||||||
"umi-types": "^0.3.17",
|
"umi-types": "^0.3.17"
|
||||||
"sol.webserver": "git+https://git.faronear.org/npm/sol.webserver"
|
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{ts,tsx}": [
|
"*.{ts,tsx}": [
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
app.vic.yuanjin.net
|
vic-app.bittic.org
|
||||||
@@ -7,14 +7,14 @@ export default {
|
|||||||
'/home/market',
|
'/home/market',
|
||||||
'/home/profile',
|
'/home/profile',
|
||||||
],
|
],
|
||||||
baseURL: 'https://server.vic.yuanjin.net/v1',
|
baseURL: 'https://vic-server.bittic.org/v1',
|
||||||
// baseURL: 'http://yapi.faronear.org/mock/20/v1',
|
// baseURL: 'http://yapi.faronear.org/mock/20/v1',
|
||||||
linkAndroid: 'https://vic.yuanjin.net/downloads/vic.apk',
|
linkAndroid: 'https://vic.bittic.org/downloads/vic.apk',
|
||||||
linkIOS: 'https://app.vic.yuanjin.net',
|
linkIOS: 'https://vic-app.bittic.org',
|
||||||
linkWeb: 'https://app.vic.yuanjin.net',
|
linkWeb: 'https://vic-app.bittic.org',
|
||||||
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',
|
||||||
linkHomeweb: 'https://vic.yuanjin.net',
|
linkHomeweb: 'https://vic.bittic.org',
|
||||||
linkSupport: 'essilk',
|
linkSupport: 'essilk',
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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://app.vic.yuanjin.net/#${postfix}`;
|
return `https://vic-app.bittic.org/#${postfix}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user