fix(in-app-help): rendering in dev mode

This commit is contained in:
Elian Doran
2025-05-20 18:33:25 +03:00
parent d06b2c4c00
commit 9c1a65427f
2 changed files with 2 additions and 2 deletions

View File

@@ -48,5 +48,5 @@ function getUrl(docNameValue: string, language: string) {
// Cannot have spaces in the URL due to how JQuery.load works.
docNameValue = docNameValue.replaceAll(" ", "%20");
return `${window.glob.appPath}/doc_notes/${language}/${docNameValue}.html`;
return `${new URL(window.glob.assetPath).pathname}/doc_notes/${language}/${docNameValue}.html`;
}