Skip to content
Open

Limg #10

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chatRoom/config/dev.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
IMG_URL: '"http://localhost:9988"',
SOCKETIO: '"http://localhost:9988/"'
SOCKETIO: '"https://im.i-zuche.cn/"'
});
2 changes: 1 addition & 1 deletion chatRoom/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/v': {
target: 'http://localhost:9988',
target: 'http://47.100.179.49:9988',
changeOrigin: true // 是否在本机创建target地址的虚拟服务,避免跨域问题
},
'/api': {
Expand Down
2 changes: 1 addition & 1 deletion chatRoom/config/prod.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
module.exports = {
NODE_ENV: '"production"',
IMG_URL: '""',
SOCKETIO: '"http://localhost:9988/"'
SOCKETIO: '"https://im.i-zuche.cn/"'
};
2 changes: 1 addition & 1 deletion chatRoom/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>vChat</title>
<link rel="shortcut icon" type="image/ico" href="/static/vchat.ico" />
<link rel="shortcut icon" type="image/ico" href="./static/vchat.ico" />
</head>
<style>
@-webkit-keyframes enter {
Expand Down
Loading