Skip to content

Commit

Permalink
fix: fix modules download path
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshydra committed Feb 17, 2024
1 parent 41a8b6f commit 25ab58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Espruino/patches/EspruinoHttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const originalUtils: (typeof Espruino)["Core"]["Utils"] = {

const patchUrl = (methodName: keyof typeof originalUtils) => {
Espruino.Core.Utils[methodName] = (href: string, ...others) => {
const newHref = href.replace(location.origin + import.meta.env.BASE_URL, "https://banglejs.com/")
const newHref = href.replace(location.origin + import.meta.env.BASE_URL, "https://banglejs.com/apps/")
originalUtils[methodName](newHref, ...others);
}
}
Expand Down

0 comments on commit 25ab58d

Please sign in to comment.