-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 additions
and
3,512 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# ReplayWebPage Js Library | ||
# 1.8.13 ui.js and 1.8.13 sw.js (sw.js is in relative path replay/sw.js) | ||
# No need to declare sw.js explictly here | ||
# 1.8.0 ui.js and 1.8.13 sw.js (sw.js is in relative path replay/sw.js) | ||
replayweb: | ||
version: 1.8 | ||
license: | ||
name: AGPLv3 | ||
url: https://github.com/webrecorder/replayweb.page/blob/master/LICENSE | ||
gpl-compatible: true | ||
js: | ||
js/ui.js: {} | ||
https://cdn.jsdelivr.net/npm/[email protected]/ui.js: { preprocess: false, external: true, minified: true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ class JsWorkerController extends ControllerBase { | |
*/ | ||
public function servereplay() { | ||
$response = new Response( | ||
'importScripts("https://cdn.jsdelivr.net/npm/replaywebpage@1.5.0/sw.js");' | ||
'importScripts("https://cdn.jsdelivr.net/npm/replaywebpage@1.8.13/sw.js");' | ||
); | ||
// Alternative https://unpkg.com/[email protected]/sw.js | ||
$response->headers->set('Content-Type', 'text/javascript'); | ||
|