From b7d7ccc929696cc17b4cc34452e4afd846d59f4f Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Thu, 7 Dec 2023 19:32:19 +0530 Subject: [PATCH] fix: env variable for text-to-diagram and use frozen lock file when install deps in excalidraw-app (#7409) --- excalidraw-app/App.tsx | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/excalidraw-app/App.tsx b/excalidraw-app/App.tsx index e2833efbe..026d0eea9 100644 --- a/excalidraw-app/App.tsx +++ b/excalidraw-app/App.tsx @@ -780,7 +780,7 @@ const ExcalidrawWrapper = () => { try { const response = await fetch( `${ - import.meta.env.VITE_APP_GIT_SHA + import.meta.env.VITE_APP_AI_BACKEND }/v1/ai/text-to-diagram/generate`, { method: "POST", diff --git a/package.json b/package.json index 032b48d7f..aec8a6714 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "fix:code": "yarn test:code --fix", "fix:other": "yarn prettier --write", "fix": "yarn fix:other && yarn fix:code", - "install:deps": "yarn install --frozen-lockfile && yarn --cwd ./excalidraw-app", + "install:deps": "yarn install --frozen-lockfile && yarn --frozen-lockfile --cwd ./excalidraw-app", "locales-coverage": "node scripts/build-locales-coverage.js", "locales-coverage:description": "node scripts/locales-coverage-description.js", "prepare": "husky install",