From 0a7dd0055ef28ea1d6490efc3e8ac03104128ccf Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 26 Oct 2022 15:39:52 +0200 Subject: [PATCH] download the raw content --- src/utils/libjs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/libjs.py b/src/utils/libjs.py index 94af61c..02f1b08 100644 --- a/src/utils/libjs.py +++ b/src/utils/libjs.py @@ -21,7 +21,7 @@ def init(commit_hash): # Download the js file if needed if not exist(f"{path}/{filename}"): # Download the font file - file_url = f"https://github.com/juanelas/bigint-mod-arith/blob/{commit_hash}/dist/esm/index.browser.js" + file_url = f"https://raw.githubusercontent.com/juanelas/bigint-mod-arith/{commit_hash}/dist/esm/index.browser.js" data = get(file_url).content # Save the file