Bug fixes

This commit is contained in:
Sebastian Seedorf
2020-11-16 17:50:08 +01:00
parent 0597b36ef3
commit 37c34f99ac
12 changed files with 112 additions and 186 deletions

10
public/js-source/index.ts Normal file
View File

@@ -0,0 +1,10 @@
// Export setConfig so that the external url can set set automatically by the server
export {setConfig} from './utils/utils';
import {getUserName} from './SomeModule';
getUserName().then((name) => {
const node = document.createElement('span');
node.innerText = `This user name is fetched with Javascript: ${name}`;
document.getElementsByTagName("body")[0].appendChild(node);
});