From ebbfd197dda1863d6c4659cc27acc018706bac80 Mon Sep 17 00:00:00 2001 From: ukorvl Date: Mon, 5 Aug 2024 16:04:38 +0400 Subject: [PATCH] #175 fix dev script --- dev.sh | 5 +++-- site/package-lock.json | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/dev.sh b/dev.sh index 9ded1d3b..4c1147ee 100755 --- a/dev.sh +++ b/dev.sh @@ -63,11 +63,12 @@ echo Token: $token # check exists .env if [ ! -f site/.env ]; then echo "create .env for site" - echo "STRAPI_API_URL=http://localhost:1337/api" > site/.env - echo "STRAPI_URL=http://localhost:1337" > site/.env + echo "STRAPI_API_URL=http://127.0.0.1:1337/api" >> site/.env + echo "STRAPI_URL=http://127.0.0.1:1337" >> site/.env # add token echo "STRAPI_API_KEY=$token" >> site/.env echo "NEXT_PUBLIC_BASE_URL=http://localhost:3000" >> site/.env + echo "FRESHTEAM_API_URL=http://nil.freshteam.com" >> site/.env fi npm run build --prefix site diff --git a/site/package-lock.json b/site/package-lock.json index 48c3ea2e..d51f81d7 100644 --- a/site/package-lock.json +++ b/site/package-lock.json @@ -1937,9 +1937,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001515", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", - "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==", + "version": "1.0.30001649", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001649.tgz", + "integrity": "sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ==", "funding": [ { "type": "opencollective", @@ -9792,9 +9792,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001515", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", - "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==" + "version": "1.0.30001649", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001649.tgz", + "integrity": "sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ==" }, "card-validator": { "version": "6.2.0",