Skip to content

Commit

Permalink
docs: add mkcert tip for https dev server (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Nov 29, 2023
1 parent 49d9457 commit c7aad33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/document/docs/en/shared/config/server/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ export default {
},
};
```

The certificates used for local development are typically generated using [mkcert](https://github.com/FiloSottile/mkcert). Please read ["How to use HTTPS for local development"](https://web.dev/articles/how-to-use-local-https?hl=en) to learn how to use it.
4 changes: 4 additions & 0 deletions packages/document/docs/zh/shared/config/server/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ export default {
},
};
```

:::tip
本地开发所使用的证书通常使用 [mkcert](https://github.com/FiloSottile/mkcert) 生成,请阅读 ["如何使用 HTTPS 进行本地开发"](https://web.dev/articles/how-to-use-local-https?hl=zh-cn) 来了解如何使用。
:::

0 comments on commit c7aad33

Please sign in to comment.