Skip to content

Commit 633dc32

Browse files
committed
移除开发环境ssl证书,避免造成歧义
1 parent 48acf02 commit 633dc32

File tree

7 files changed

+5
-107
lines changed

7 files changed

+5
-107
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
/im-server/target/
88
/im-platform/target/
99
/im-client/target/
10-
/im-common/itarget/
10+
/im-common/target/
1111
/im-web/node_modules/
12+
/im-web/dist/
1213
/im-uniapp/node_modules/
1314
/im-uniapp/package-lock.json
1415
/im-uniapp/unpackage/

im-uniapp/ssl/cert.crt

-19
This file was deleted.

im-uniapp/ssl/cert.key

-27
This file was deleted.

im-uniapp/vite.config.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@ export default defineConfig({
1313
logLevel: 'debug',
1414
target: 'http://127.0.0.1:8888',
1515
changeOrigin: true
16-
},
17-
18-
},
19-
// 音视频功能需要ssl证书,如需调试请打开注释
20-
// https: {
21-
// cert: fs.readFileSync(path.join(__dirname, 'ssl/cert.crt')),
22-
// key: fs.readFileSync(path.join(__dirname, 'ssl/cert.key'))
23-
// }
16+
}
17+
}
2418
}
2519
})

im-web/src/ssl/cert.crt

-19
This file was deleted.

im-web/src/ssl/cert.key

-27
This file was deleted.

im-web/vue.config.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ module.exports = {
1212
'^/api': ''
1313
}
1414
}
15-
},
16-
// 音视频功能需要ssl证书,如需调试请打开注释
17-
// https: {
18-
// cert: fs.readFileSync(path.join(__dirname, 'src/ssl/cert.crt')),
19-
// key: fs.readFileSync(path.join(__dirname, 'src/ssl/cert.key'))
20-
// }
15+
}
2116
}
2217

2318
}

0 commit comments

Comments
 (0)