From a4432a30cbce6126e5eda5943327d7a0bc0ec7c6 Mon Sep 17 00:00:00 2001 From: sajjadtalkhabi <97734061+sajjadtalkhabi@users.noreply.github.com> Date: Fri, 12 Jun 2026 01:01:45 +0330 Subject: [PATCH] fix: mirror --- Dockerfile | 3 +++ src/features/auth/schema/index.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6e1316e..0cb258d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ COPY package.json package-lock.json ./ # RUN npm config set registry https://mirror-npm.runflare.com # RUN npm config set strict-ssl false +RUN npm config set registry https://package-mirror.liara.ir/repository/npm/ --global +RUN npm config set strict-ssl false + RUN npm ci COPY . . diff --git a/src/features/auth/schema/index.js b/src/features/auth/schema/index.js index e1e8535..e1d48e3 100644 --- a/src/features/auth/schema/index.js +++ b/src/features/auth/schema/index.js @@ -21,7 +21,7 @@ export const signupSchema = object().shape({ }) export const verifyCodeSchema = object().shape({ - verifyCode: string().required().max(5), + verifyCode: string().required().length(6), }) export const resetPasswordSchema = object().shape({