Skip to content

Commit

Permalink
chore: change mkcert source to coding
Browse files Browse the repository at this point in the history
maybe fixed #152
  • Loading branch information
buqiyuan committed Feb 23, 2024
1 parent c0ebf33 commit 0166a92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
vueJsx({
// options are passed on to @vue/babel-plugin-jsx
}),
mkcert(),
// 指定 mkcert 的下载源为 coding,从 coding.net 镜像下载证书
mkcert({ source: 'coding' }),
mockServerPlugin({ build: isBuild && VITE_MOCK_IN_PROD === 'true' }),
createSvgIconsPlugin({
// Specify the icon folder to be cached
Expand Down

0 comments on commit 0166a92

Please sign in to comment.