Get Cad Function working along side other app functions

with serverless
This commit is contained in:
Kurt Hutten
2021-11-20 20:51:36 +11:00
parent 53a6639fd1
commit 9e0f1eee60
12 changed files with 139 additions and 221 deletions

View File

@@ -5,7 +5,7 @@ import type { Camera } from 'src/helpers/hooks/useIdeState'
export const lambdaBaseURL =
process.env.CAD_LAMBDA_BASE_URL ||
'https://oxt2p7ddgj.execute-api.us-east-1.amazonaws.com/prod'
'https://9inkvuvxz5.execute-api.us-east-2.amazonaws.com/dev'
export const stlToGeometry = (url) =>
new Promise((resolve, reject) => {