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:
parent
f14ad61bd0
commit
b7d7ccc929
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user