diff --git a/build/js-licenses.html b/build/js-licenses.html
index 8d5976a..e78778e 100644
--- a/build/js-licenses.html
+++ b/build/js-licenses.html
@@ -1 +1 @@
-
JavaScript licenses - Invidious
\ No newline at end of file
+JavaScript licenses - Invidious
\ No newline at end of file
diff --git a/src/build.js b/src/build.js
index b48bf95..f591e73 100644
--- a/src/build.js
+++ b/src/build.js
@@ -105,9 +105,9 @@ async function addBabel(sourcePath, targetPath) {
static.set(sourcePath, minFilenameWithQuery)
scripts.push({
original: targetPath,
- minified: minFilenameWithQuery,
+ minified: minFilename,
license: "GNU-AGPL-3.0-or-later",
- licenseHref: "https://www.gnu.org/licenses/agpl-3.0.html"
+ licenseHref: "http://www.gnu.org/licenses/agpl-3.0.html"
})
await Promise.all([