mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-23 03:25:07 +03:00
13 lines
487 B
TypeScript
13 lines
487 B
TypeScript
/**
|
|
* @fileoverview Application configuration constants
|
|
* @description Contains all configuration values used throughout the application
|
|
* @author Cursor
|
|
* @version 1.0.0
|
|
*/
|
|
|
|
|
|
export const BASE_DOMAIN = import.meta.env.VITE_API_BASE_URL || "fromchat.ru";
|
|
export const API_BASE_URL = `${location.host ? "" : `https://${BASE_DOMAIN}`}/api`;
|
|
export const API_WS_BASE_URL = `${location.host || BASE_DOMAIN}/api`;
|
|
export const PRODUCT_NAME = "FromChat";
|
|
export const MINIMUM_WIDTH = 800; |