diff --git a/.env.development.local b/.env.development.local index 992c76e4..50bf2636 100644 --- a/.env.development.local +++ b/.env.development.local @@ -1,2 +1 @@ REACT_APP_DOMAIN="https://squiz.pena.digital" -REACT_APP_HUB_DOMAIN="https://shub.pena.digital" \ No newline at end of file diff --git a/.env.production.local b/.env.production.local index 992c76e4..c0284fff 100644 --- a/.env.production.local +++ b/.env.production.local @@ -1,2 +1 @@ -REACT_APP_DOMAIN="https://squiz.pena.digital" -REACT_APP_HUB_DOMAIN="https://shub.pena.digital" \ No newline at end of file +REACT_APP_DOMAIN="https://squiz.pena.digital" \ No newline at end of file diff --git a/src/api/auth.ts b/src/api/auth.ts index 7c729a66..b3a282f5 100644 --- a/src/api/auth.ts +++ b/src/api/auth.ts @@ -8,7 +8,7 @@ import type { } from "@frontend/kitui"; import { parseAxiosError } from "../utils/parse-error"; -const apiUrl =process.env.REACT_APP_DOMAIN + "/auth"; +const apiUrl = process.env.REACT_APP_DOMAIN + "/auth"; export async function register( login: string, diff --git a/src/api/contactForm.ts b/src/api/contactForm.ts index f64be0c2..00e9face 100644 --- a/src/api/contactForm.ts +++ b/src/api/contactForm.ts @@ -1,6 +1,6 @@ import axios from "axios"; -const domen = process.env.REACT_APP_HUB_DOMAIN +const domen = process.env.REACT_APP_DOMAIN; export function sendContactFormRequest(body: { contact: string; diff --git a/src/api/quizRelase.ts b/src/api/quizRelase.ts index a960f2d5..c846c8d8 100644 --- a/src/api/quizRelase.ts +++ b/src/api/quizRelase.ts @@ -18,7 +18,7 @@ import { CopyQuestionResponse, } from "@model/question/copy"; -const baseUrl = process.env.REACT_APP_DOMAIN ; +const baseUrl = process.env.REACT_APP_DOMAIN; function get(quizId: string) { return makeRequest({ diff --git a/src/pages/Landing/FooterLanding.tsx b/src/pages/Landing/FooterLanding.tsx index b94d8fd9..0708e15c 100644 --- a/src/pages/Landing/FooterLanding.tsx +++ b/src/pages/Landing/FooterLanding.tsx @@ -127,13 +127,13 @@ export default function Component() { > Пользовательское соглашение - diff --git a/src/pages/ResultPage/ResultSettings.tsx b/src/pages/ResultPage/ResultSettings.tsx index 14524fae..f1e384c0 100644 --- a/src/pages/ResultPage/ResultSettings.tsx +++ b/src/pages/ResultPage/ResultSettings.tsx @@ -90,7 +90,6 @@ export const ResultSettings = () => { }} > Настройки результатов -