Merge branch 'dev' into 'staging'
Merge branch 'new-api-version' into dev See merge request frontend/squiz!330
This commit is contained in:
commit
e67a9c9b8f
@ -450,7 +450,7 @@ export const uploadQuestionImage = async (
|
||||
}
|
||||
|
||||
const imageId = values[0];
|
||||
const imageUrl = `https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/squizimages/${quizQid}/${imageId}`;
|
||||
const imageUrl = `https://s3.timeweb.cloud/3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b/squizimages/angesight/squizimages/${quizQid}/${imageId}`;
|
||||
|
||||
updateQuestion(questionId, (question) => {
|
||||
updateFn(question, imageUrl);
|
||||
|
||||
@ -305,7 +305,7 @@ export const uploadQuizImage = async (
|
||||
updateQuiz(quizId, (quiz) => {
|
||||
updateFn(
|
||||
quiz,
|
||||
`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/squizimages/${quiz.qid}/${imageId}`,
|
||||
`https://s3.timeweb.cloud/3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b/squizimages/angesight/squizimages/${quiz.qid}/${imageId}`,
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
@ -98,7 +98,7 @@ export default function ChatDocument({
|
||||
</svg>
|
||||
<Link
|
||||
download
|
||||
href={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${file}`}
|
||||
href={`https://s3.timeweb.cloud/3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b/squizimages/angesight/pair/${file}`}
|
||||
style={{
|
||||
color: "#7E2AEA",
|
||||
display: "flex",
|
||||
|
||||
@ -110,7 +110,7 @@ export default function ChatImage({
|
||||
height: "217px",
|
||||
width: "217px",
|
||||
}}
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${file}`}
|
||||
src={`https://s3.timeweb.cloud/3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b/squizimages/angesight/pair/${file}`}
|
||||
/>
|
||||
</ButtonBase>
|
||||
</Box>
|
||||
|
||||
@ -12,7 +12,7 @@ export default function ChatImageNewWindow() {
|
||||
maxHeight: "100vh",
|
||||
maxWidth: "100vw",
|
||||
}}
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${srcImage}`}
|
||||
src={`https://s3.timeweb.cloud/3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b/squizimages/angesight/pair/${srcImage}`}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
@ -114,7 +114,7 @@ export default function ChatImage({
|
||||
controls
|
||||
>
|
||||
<source
|
||||
src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${file}`}
|
||||
src={`https://s3.timeweb.cloud/3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b/squizimages/angesight/pair/${file}`}
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user