A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
365 B

  1. export namespace JsonAPI {
  2. // @ts-ignore: Cannot find name 'hostAddress'.
  3. export let userName: string | null = localStorage.getItem('userName');
  4. export let authToken: string | null = localStorage.getItem('authToken');
  5. export const ACTIVE_USERS_GET = `/api/chat/get/active-users`;
  6. export const CHAT_MESSAGES_GET = `/api/chat/get/messages`;
  7. }