Keeps the expression when popping out a debug visualizer view.

This commit is contained in:
Henning Dieterichs
2020-02-12 15:12:35 +01:00
parent d4c6e942d0
commit 1e851fe0f0
3 changed files with 15 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ export function getHtml(server: Server) {
</script>
${
isDev
? `<iframe sandbox="allow-top-navigation allow-scripts allow-same-origin allow-popups allow-pointer-lock allow-forms" src="${server.indexUrl}"></iframe>`
? `<iframe sandbox="allow-top-navigation allow-scripts allow-same-origin allow-popups allow-pointer-lock allow-forms" src="${server.getIndexUrl()}"></iframe>`
: `<script type="text/javascript" src="${server.mainBundleUrl}"></script>`
}
</body>