update
This commit is contained in:
parent
93b304b472
commit
9420dc118a
2 changed files with 13 additions and 9 deletions
|
|
@ -28,8 +28,9 @@ export default function KcApp(props: { kcContext: KcContext }) {
|
|||
}
|
||||
})();
|
||||
|
||||
// The files are in the public directory.
|
||||
const response = await fetch(`${import.meta.env}terms/${termsFileName}`);
|
||||
// Dynamically downloading Markdown files from public/terms/[currentLanguage].md
|
||||
// Replace theses files by your organization's terms of service.
|
||||
const response = await fetch(`${import.meta.env.BASE_URL}terms/${termsFileName}`);
|
||||
|
||||
return response.text();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue