diff --git a/Dockerfile b/Dockerfile index 59651d48..ae0e9ce0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN npm config set -- //penahub.gitlab.yandexcloud.net/api/v4/projects/43/packag RUN npm config set @frontend:registry https://penahub.gitlab.yandexcloud.net/api/v4/packages/npm/ RUN yarn config set '//penahub.gitlab.yandexcloud.net/api/v4/packages/npm/:_authToken' "glpat-JL_7wSM1QpW7xGfd-oWX" RUN yarn config set '//penahub.gitlab.yandexcloud.net/api/v4/projects/:_authToken' "glpat-JL_7wSM1QpW7xGfd-oWX" -RUN yarn install --ignore-scripts --non-interactive --frozen-lockfile && yarn cache clean +RUN yarn install --ignore-scripts --non-interactive && yarn cache clean RUN yarn build diff --git a/package.json b/package.json index b1141404..195ddacb 100755 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "@craco/craco": "^7.0.0", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", - "@frontend/kitui": "^1.0.85", - "@frontend/squzanswerer": "^1.0.56", + "@frontend/kitui": "^1.0.86", + "@frontend/squzanswerer": "^1.0.57", "@mui/icons-material": "^5.10.14", "@mui/material": "^5.10.14", "@mui/x-charts": "^6.19.5", diff --git a/src/pages/startPage/StartPageSettings.tsx b/src/pages/startPage/StartPageSettings.tsx index 31237241..e9c5bd9d 100755 --- a/src/pages/startPage/StartPageSettings.tsx +++ b/src/pages/startPage/StartPageSettings.tsx @@ -854,6 +854,24 @@ export default function StartPageSettings() { Включить антифрод + + { + updateQuiz(quiz.id, (quiz) => { + quiz.config.isUnSc = e.target.checked; + }); + }} + /> + + Включить защиту от копирования + + )}