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.

8 lines
233 B

  1. export function createApiHeaders(authToken: string): Headers {
  2. const headers = new Headers();
  3. // headers.append("Content-Type", "application/json");
  4. headers.append("X-AUTH-TOKEN", authToken);
  5. return headers;
  6. }