Deploy optimized CadQuery stls

This commit is contained in:
Kurt Hutten
2021-06-29 18:43:43 +10:00
parent 8fec470e9f
commit 8f8dae70c2
2 changed files with 10 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ import { STLLoader } from 'three/examples/jsm/loaders/STLLoader'
export const lambdaBaseURL =
process.env.CAD_LAMBDA_BASE_URL ||
'https://2inlbple1b.execute-api.us-east-1.amazonaws.com/prod2'
'https://oxt2p7ddgj.execute-api.us-east-1.amazonaws.com/prod'
export const stlToGeometry = (url) =>
new Promise((resolve, reject) => {