Commit 65a034b2 authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[turbolizer] Fix info-view fetching url

The URL must not have a leading slash, and the file needs to be included
in the deployment script.

TBR=neis@chromium.org

Change-Id: Idd3fc25c052cb720d4956f630a8ddca7e5d36a1a
Notry: true
Bug: v8:7327
Reviewed-on: https://chromium-review.googlesource.com/c/1409432Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58799}
parent 7a7902e4
......@@ -17,6 +17,7 @@ copy *.jpg $DEST/
copy *.png $DEST/
copy *.css $DEST/
copy index.html $DEST/
copy info-view.html $DEST/
copy -R build $DEST/
echo "done!"
......
......@@ -7,7 +7,7 @@ export class InfoView extends View {
}
initializeContent(data: any, rememberedSelection: Set<any>): void {
fetch("/info-view.html")
fetch("info-view.html")
.then(response => response.text())
.then(htmlText => this.divNode.innerHTML = htmlText);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment