Further fixes for relative directory

This commit is contained in:
Jeremy Likness
2020-01-29 14:03:43 -08:00
parent bd4ee99396
commit 9dc4716a41
2 changed files with 2 additions and 2 deletions

2
js/controls.js vendored
View File

@@ -38,7 +38,7 @@ export class Controls extends HTMLElement {
* Called when the element is inserted into the DOM. Used to fetch the template and wire into the related Navigator instance.
*/
async connectedCallback() {
const response = await fetch("/templates/controls.html");
const response = await fetch("./templates/controls.html");
const template = await response.text();
this.innerHTML = "";
const host = document.createElement("div");