mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Remove wabac submodule, update via build script and cdn
This commit is contained in:
parent
bb30af9575
commit
36b344c825
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,6 +1,3 @@
|
|||||||
[submodule "wombat"]
|
[submodule "wombat"]
|
||||||
path = wombat
|
path = wombat
|
||||||
url = https://github.com/webrecorder/wombat
|
url = https://github.com/webrecorder/wombat
|
||||||
[submodule "wabac.js"]
|
|
||||||
path = wabac.js
|
|
||||||
url = https://github.com/webrecorder/wabac.js
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
WABAC_SW_URL=https://cdn.jsdelivr.net/npm/@webrecorder/wabac@2.21.3/dist/sw.js
|
||||||
|
|
||||||
cd $CURR_DIR/wabac.js
|
wget "$WABAC_SW_URL" -O ./pywb/static/wabacWorker.js
|
||||||
yarn install
|
|
||||||
yarn run build
|
|
||||||
cp ./dist/sw.js ../pywb/static/wabacWorker.js
|
|
||||||
|
1
wabac.js
1
wabac.js
@ -1 +0,0 @@
|
|||||||
Subproject commit 5b3156c0e14ac3e43fd8a94008000ff2d7e332ad
|
|
Loading…
x
Reference in New Issue
Block a user