Skip to content

Commit 8c9b954

Browse files
committed
Force modules to load
1 parent a5264ba commit 8c9b954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/codingcatdev/src/lib/server/content.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const markdownFiles: {
2525
console.log('Building top metadata level');
2626
const modules = import.meta.glob(['../../content/course/*/*.md', '../../content/*/*.md']);
2727
for (const path in modules) {
28-
modules[path]().then((mod) => {
28+
await modules[path]().then((mod) => {
2929
const splitPath = path.replace('../../content/', '').split('/');
3030
const type = splitPath.at(0);
3131
const slug = splitPath.at(1);

0 commit comments

Comments
 (0)