This commit is contained in:
Kurt Hutten
2021-10-16 03:37:59 +11:00
parent 55917395b4
commit 50cd44cd76
5 changed files with 15 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ export const render: DefaultKernelExport['render'] = async ({
}
const blob = await response.blob()
const text = await new Response(blob).text()
const { consoleMessage, customizerParams, type } = splitGziped(text)
const { consoleMessage, customizerParams } = splitGziped(text)
return createHealthyResponse({
type: 'geometry',
data: await stlToGeometry(window.URL.createObjectURL(blob)),

View File

@@ -40,4 +40,4 @@ function main({
return rotate([degToRad(flip), 0, degToRad(90)], model)
}
module.exports = { main }
module.exports = { main } // eslint-disable-line