embed mode fix: set default replayBase to current directory ./replay/ (as documented) not /replay/ - fixes #36

This commit is contained in:
Ilya Kreymer
2021-03-12 00:34:08 -08:00
parent 534d3c58ad
commit 3eb4befa06
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class Embed extends LitElement
{
constructor() {
super();
this.replaybase = window.location.origin + "/replay/";
this.replaybase = "./replay/";
this.swName = __SW_NAME__;
this.view = "replay";
this.ts = "";