1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00

fix: env variable for text-to-diagram and use frozen lock file when install deps in excalidraw-app (#7409)

This commit is contained in:
Aakansha Doshi 2023-12-07 19:32:19 +05:30 committed by GitHub
parent f14ad61bd0
commit b7d7ccc929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -780,7 +780,7 @@ const ExcalidrawWrapper = () => {
try { try {
const response = await fetch( const response = await fetch(
`${ `${
import.meta.env.VITE_APP_GIT_SHA import.meta.env.VITE_APP_AI_BACKEND
}/v1/ai/text-to-diagram/generate`, }/v1/ai/text-to-diagram/generate`,
{ {
method: "POST", method: "POST",

@ -93,7 +93,7 @@
"fix:code": "yarn test:code --fix", "fix:code": "yarn test:code --fix",
"fix:other": "yarn prettier --write", "fix:other": "yarn prettier --write",
"fix": "yarn fix:other && yarn fix:code", "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": "node scripts/build-locales-coverage.js",
"locales-coverage:description": "node scripts/locales-coverage-description.js", "locales-coverage:description": "node scripts/locales-coverage-description.js",
"prepare": "husky install", "prepare": "husky install",