From d76051292a478338808e93a6a11af4b0cce27c2f Mon Sep 17 00:00:00 2001 From: Yehor Podporinov <50983498+yehor-podporinov@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:01:27 +0200 Subject: [PATCH] Fix/Config (#65) Co-authored-by: Yehor Podporinov --- .env.example | 2 +- config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index dce5c0b..98a2577 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,6 @@ VITE_ENVIRONMENT=development VITE_PORT=8095 -VITE_API_URL='https://api.stage.solarity.dev' +VITE_APP_API_URL='https://api.stage.solarity.dev' VITE_APP_NAME='Solarity' VITE_APP_COMPANY_URL='https://distributedlab.com' VITE_APP_DOCUMENTATION_URL='https://docs.stage.solarity.dev' diff --git a/config.ts b/config.ts index c089870..5175e6d 100644 --- a/config.ts +++ b/config.ts @@ -1,7 +1,7 @@ import { LogLevelDesc } from 'loglevel' export const config = { - API_URL: import.meta.env.VITE_API_URL as string, + API_URL: import.meta.env.VITE_APP_API_URL as string, NAME: import.meta.env.VITE_APP_NAME as string, COMPANY_URL: import.meta.env.VITE_APP_COMPANY_URL as string, DOCUMENTATION_URL: import.meta.env.VITE_APP_DOCUMENTATION_URL as string,