Fix broken build

pull/3730/head
Kamran Ahmed 2 years ago
parent 9370e262c0
commit db273210fd
  1. 3
      src/data/roadmaps/mongodb/content/110-mongodb-security/encryption/100-encryption-at-rest.md
  2. 3
      src/lib/roadmap-topic.ts

@ -31,7 +31,8 @@ To enable encryption at rest in MongoDB, you have to perform the following steps
- **Enable encryption**: Turn on the `encryptWith` parameter in the WiredTiger storage engine. - **Enable encryption**: Turn on the `encryptWith` parameter in the WiredTiger storage engine.
Example `mongod.conf` file: Example `mongod.conf` file:
```yml
```yaml
storage: storage:
wiredTiger: wiredTiger:
engineConfig: engineConfig:

@ -46,7 +46,8 @@ function generateBreadcrumbs(topicUrl: string, topicFiles: Record<string, Roadma
const breadcrumbs = breadcrumbUrls.map((breadCrumbUrl): BreadcrumbItem => { const breadcrumbs = breadcrumbUrls.map((breadCrumbUrl): BreadcrumbItem => {
const topicFile = topicFiles[breadCrumbUrl]; const topicFile = topicFiles[breadCrumbUrl];
const topicFileContent = topicFile.file;
const topicFileContent = topicFile?.file;
const firstHeading = topicFileContent?.getHeadings()?.[0]; const firstHeading = topicFileContent?.getHeadings()?.[0];

Loading…
Cancel
Save