1
0
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:
Tessa Walsh 2025-03-11 15:36:45 -04:00
parent bb30af9575
commit 36b344c825
3 changed files with 2 additions and 9 deletions

3
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule "wombat"]
path = wombat
url = https://github.com/webrecorder/wombat
[submodule "wabac.js"]
path = wabac.js
url = https://github.com/webrecorder/wabac.js

View File

@ -1,8 +1,5 @@
#!/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
yarn install
yarn run build
cp ./dist/sw.js ../pywb/static/wabacWorker.js
wget "$WABAC_SW_URL" -O ./pywb/static/wabacWorker.js

@ -1 +0,0 @@
Subproject commit 5b3156c0e14ac3e43fd8a94008000ff2d7e332ad