mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-14 18:40:11 +01:00
791c0ee9dc
* Enable ability to do full-text query on documents Show alert modal on first pin for client Add ability to use pins in stream/chat/embed * typo and copy update * simplify spread of context and sources
16 lines
616 B
JavaScript
16 lines
616 B
JavaScript
export const API_BASE = import.meta.env.VITE_API_BASE || "/api";
|
|
|
|
export const AUTH_USER = "anythingllm_user";
|
|
export const AUTH_TOKEN = "anythingllm_authToken";
|
|
export const AUTH_TIMESTAMP = "anythingllm_authTimestamp";
|
|
export const COMPLETE_QUESTIONNAIRE = "anythingllm_completed_questionnaire";
|
|
export const SEEN_DOC_PIN_ALERT = "anythingllm_pinned_document_alert";
|
|
|
|
export const USER_BACKGROUND_COLOR = "bg-historical-msg-user";
|
|
export const AI_BACKGROUND_COLOR = "bg-historical-msg-system";
|
|
|
|
export function fullApiUrl() {
|
|
if (API_BASE !== "/api") return API_BASE;
|
|
return `${window.location.origin}/api`;
|
|
}
|