fix: urls
This commit is contained in:
parent
5d0e9d8b0e
commit
56b00a57a0
@ -21,8 +21,8 @@ export default function ChatDocument({
|
||||
const messageBackgroundColor = isSelf
|
||||
? "white"
|
||||
: unAuthenticated
|
||||
? "#EFF0F5"
|
||||
: "#434657";
|
||||
? "#EFF0F5"
|
||||
: "#434657";
|
||||
|
||||
const date = new Date(createdAt);
|
||||
const today = isDateToday(date);
|
||||
@ -98,7 +98,7 @@ export default function ChatDocument({
|
||||
</svg>
|
||||
<Link
|
||||
download=""
|
||||
href={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/pair/${file}`}
|
||||
href={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${file}`}
|
||||
style={{
|
||||
color: "#7E2AEA",
|
||||
display: "flex",
|
||||
|
@ -28,8 +28,8 @@ export default function ChatImage({
|
||||
const messageBackgroundColor = isSelf
|
||||
? "white"
|
||||
: unAuthenticated
|
||||
? "#EFF0F5"
|
||||
: "#434657";
|
||||
? "#EFF0F5"
|
||||
: "#434657";
|
||||
|
||||
const date = new Date(createdAt);
|
||||
const today = isDateToday(date);
|
||||
@ -110,7 +110,7 @@ export default function ChatImage({
|
||||
height: "217px",
|
||||
width: "217px",
|
||||
}}
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/pair/${file}`}
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${file}`}
|
||||
/>
|
||||
</ButtonBase>
|
||||
</Box>
|
||||
|
@ -113,7 +113,9 @@ export default function ChatImage({
|
||||
}}
|
||||
controls
|
||||
>
|
||||
<source src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/pair/${file}`} />
|
||||
<source
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${file}`}
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
|
@ -12,7 +12,7 @@ export default function ChatImageNewWindow() {
|
||||
maxHeight: "100vh",
|
||||
maxWidth: "100vw",
|
||||
}}
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/pair/${srcImage}`}
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${srcImage}`}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user