1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-04-04 21:05:49 +02:00

testing: use dev version of wabac.js

This commit is contained in:
Ilya Kreymer 2025-03-26 19:58:43 -07:00 committed by Tessa Walsh
parent 1a7daac064
commit fe9dcbe83d

View File

@ -15,8 +15,9 @@ from pywb import __version__
root_dir = pathlib.Path(__file__).parent
WABAC_SW_URL = "https://cdn.jsdelivr.net/npm/@webrecorder/wabac@2.21.4/dist/sw.js"
#WABAC_SW_URL = "https://cdn.jsdelivr.net/npm/@webrecorder/wabac@2.21.4/dist/sw.js"
# for testing only, remove before merge
WABAC_SW_URL = "https://raw.githubusercontent.com/webrecorder/wabac.js/refs/heads/baseUrlAppendReplayOption/dist/sw.js"
def download_wabac_sw():
print(f"Downloading {WABAC_SW_URL}")