diff --git a/package.json b/package.json index 96de3fee..c4bdd137 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vocechat-web", - "version": "0.7.23", + "version": "0.7.24", "homepage": "https://voce.chat", "dependencies": { "@metamask/onboarding": "^1.0.1", diff --git a/src/app/config.ts b/src/app/config.ts index 49c97737..58a8ee52 100644 --- a/src/app/config.ts +++ b/src/app/config.ts @@ -13,7 +13,7 @@ const prices: Price[] = [ ]; const official_dev = `https://dev.voce.chat`; const local_dev = `https://dev.voce.chat`; -// const local_dev = `https://cqvoce.com`; +// const local_dev = `http://localhost:3881`; const dev_origin = process.env.REACT_APP_OFFICIAL_DEMO ? official_dev : local_dev; // const local_dev = `https://im.ttt.td`; @@ -75,6 +75,7 @@ export const PAYMENT_URL_PREFIX = ? `https://vera.nicegoodthings.com` : `http://localhost:4000`; export const CACHE_VERSION = `0.3.37`; +export const WIDGET_USER_PWD = `123123`; export const GuestRoutes = ["/", "/chat", "/chat/channel/:channel_id"]; export const ContentTypes = { text: "text/plain", diff --git a/src/components/FileMessage/AudioMessage.tsx b/src/components/FileMessage/AudioMessage.tsx index 4ff56fa3..60ade27d 100644 --- a/src/components/FileMessage/AudioMessage.tsx +++ b/src/components/FileMessage/AudioMessage.tsx @@ -5,6 +5,7 @@ import IconDownload from "@/assets/icons/download.svg"; import IconAudio from "@/assets/icons/file.audio.svg"; import { formatBytes } from "../../utils"; import ExpiredMessage from "./ExpiredMessage"; +import DownloadArea from "./DownloadArea"; type Props = { url: string; @@ -40,9 +41,7 @@ const AudioMessage = ({ url, name, size, download }: Props) => { {_size} - - - +