File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ class WabacReplay
7
7
this . staticPrefix = staticPrefix ;
8
8
this . collName = coll ;
9
9
this . isRoot = coll === "$root" ;
10
- this . archivePrefix = this . isRoot ? "/" : `/${ this . collName } /` ;
11
10
this . swScope = swScopePrefix ;
12
11
this . adblockUrl = undefined ;
13
12
@@ -51,7 +50,7 @@ class WabacReplay
51
50
baseUrl : this . prefix ,
52
51
baseUrlAppendReplay : true ,
53
52
noPostToGet : false ,
54
- archivePrefix : this . archivePrefix ,
53
+ archivePrefix : this . prefix ,
55
54
archiveMod : "ir_" ,
56
55
adblockUrl : this . adblockUrl ,
57
56
noPostToGet : true ,
@@ -86,6 +85,6 @@ class WabacReplay
86
85
// called by the Vue banner when the timeline is clicked
87
86
load_url ( url , ts ) {
88
87
const iframe = document . querySelector ( '#replay_iframe' ) ;
89
- iframe . src = `${ this . swScope } ${ this . archivePrefix } ${ ts } mp_/${ url } ` ;
88
+ iframe . src = `${ this . prefix } ${ ts } mp_/${ url } ` ;
90
89
}
91
90
}
Original file line number Diff line number Diff line change 1
- __version__ = '2.9.0-beta.0 '
1
+ __version__ = '2.9.0b1 '
2
2
3
3
if __name__ == '__main__' :
4
4
print (__version__ )
Original file line number Diff line number Diff line change 15
15
root_dir = pathlib .Path (__file__ ).parent
16
16
17
17
18
- WABAC_SW_URL = "https://cdn.jsdelivr.net/npm/@webrecorder/[email protected] .12 /dist/sw.js"
18
+ WABAC_SW_URL = "https://cdn.jsdelivr.net/npm/@webrecorder/[email protected] .15 /dist/sw.js"
19
19
20
20
def download_wabac_sw ():
21
21
print (f"Downloading { WABAC_SW_URL } " )
You can’t perform that action at this time.
0 commit comments