Skip to content

Commit 779883e

Browse files
committed
remove .gz extension in url for local extension
Bump Version Build packages
1 parent 3c8f38f commit 779883e

File tree

10 files changed

+6
-2
lines changed

10 files changed

+6
-2
lines changed

dist/CNC/GRBL/index.html.gz

20 Bytes
Binary file not shown.

dist/CNC/GRBLHal/index.html.gz

19 Bytes
Binary file not shown.

dist/Plotter/HP-GL/index.html.gz

20 Bytes
Binary file not shown.
19 Bytes
Binary file not shown.
19 Bytes
Binary file not shown.
18 Bytes
Binary file not shown.
19 Bytes
Binary file not shown.

dist/SandTable/GRBL/index.html.gz

18 Bytes
Binary file not shown.

src/components/App/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
import { h } from "preact"
1919
import { webUIbuild } from "../../targets"
20-
export const webUIversion = "3.0.0-a75"
20+
export const webUIversion = "3.0.0-a76"
2121
export const Esp3dVersion = () => (
2222
<span>
2323
{webUIversion}.{webUIbuild}

src/components/ExtraContent/extraContentItem.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,12 @@ const ExtraContentItem = ({
103103
isLoadedState[id] = true;
104104
} else {
105105
const idquery = type === "content" ? type + id : "download" + id
106+
let url = source
107+
if (url.endsWith(".gz")) {
108+
url = url.substring(0, url.length - 3)
109+
}
106110
createNewRequest(
107-
espHttpURL(source),
111+
espHttpURL(url),
108112
{ method: "GET", id: idquery, max: 2 },
109113
{
110114
onSuccess: handleContentSuccess,

0 commit comments

Comments
 (0)