fix: urls
This commit is contained in:
parent
5d0e9d8b0e
commit
56b00a57a0
@ -21,8 +21,8 @@ export default function ChatDocument({
|
|||||||
const messageBackgroundColor = isSelf
|
const messageBackgroundColor = isSelf
|
||||||
? "white"
|
? "white"
|
||||||
: unAuthenticated
|
: unAuthenticated
|
||||||
? "#EFF0F5"
|
? "#EFF0F5"
|
||||||
: "#434657";
|
: "#434657";
|
||||||
|
|
||||||
const date = new Date(createdAt);
|
const date = new Date(createdAt);
|
||||||
const today = isDateToday(date);
|
const today = isDateToday(date);
|
||||||
@ -98,7 +98,7 @@ export default function ChatDocument({
|
|||||||
</svg>
|
</svg>
|
||||||
<Link
|
<Link
|
||||||
download=""
|
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={{
|
style={{
|
||||||
color: "#7E2AEA",
|
color: "#7E2AEA",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
@ -28,8 +28,8 @@ export default function ChatImage({
|
|||||||
const messageBackgroundColor = isSelf
|
const messageBackgroundColor = isSelf
|
||||||
? "white"
|
? "white"
|
||||||
: unAuthenticated
|
: unAuthenticated
|
||||||
? "#EFF0F5"
|
? "#EFF0F5"
|
||||||
: "#434657";
|
: "#434657";
|
||||||
|
|
||||||
const date = new Date(createdAt);
|
const date = new Date(createdAt);
|
||||||
const today = isDateToday(date);
|
const today = isDateToday(date);
|
||||||
@ -110,7 +110,7 @@ export default function ChatImage({
|
|||||||
height: "217px",
|
height: "217px",
|
||||||
width: "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>
|
</ButtonBase>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -113,7 +113,9 @@ export default function ChatImage({
|
|||||||
}}
|
}}
|
||||||
controls
|
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>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -12,7 +12,7 @@ export default function ChatImageNewWindow() {
|
|||||||
maxHeight: "100vh",
|
maxHeight: "100vh",
|
||||||
maxWidth: "100vw",
|
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