|
|
@ -81,6 +81,7 @@ export async function getAllQuestionGroups(): Promise<QuestionGroupType[]> { |
|
|
|
if (answerText.endsWith('.md')) { |
|
|
|
if (answerText.endsWith('.md')) { |
|
|
|
const answerFilePath = `/src/data/question-groups/${questionGroupDir}/content/${answerText}`; |
|
|
|
const answerFilePath = `/src/data/question-groups/${questionGroupDir}/content/${answerText}`; |
|
|
|
answerText = |
|
|
|
answerText = |
|
|
|
|
|
|
|
answerFilesMap[answerFilePath]?.default || |
|
|
|
answerFilesMap[answerFilePath] || |
|
|
|
answerFilesMap[answerFilePath] || |
|
|
|
`File missing: ${answerFilePath}`; |
|
|
|
`File missing: ${answerFilePath}`; |
|
|
|
|
|
|
|
|
|
|
|