Skip to content

Commit

Permalink
Fix(?) archive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gingershaped committed Nov 6, 2024
1 parent a2f1268 commit 31d6f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ module.exports = function (env, argv) {
let match = /https?:\/\/vyxal.github.io\/Vyxal\/(.*\.(js))/.exec(request)
if (match) {
if (env["vy-archive"] != undefined) {
return callback(null, `./${env["vy-archive"]}/${match[1]}`, "import")
return callback(null, `../${env["vy-archive"]}/${match[1]}`, "import")
}
return callback(null, request, "import")
}
Expand Down

0 comments on commit 31d6f8e

Please sign in to comment.