fix: x
This commit is contained in:
parent
e98d0ebdf1
commit
ac63709846
|
|
@ -31,7 +31,7 @@ const SuccessComponent: React.FC<SuccessComponentProps> = ({ task }) => {
|
||||||
task.outputUrl.includes('.mp4') ? (
|
task.outputUrl.includes('.mp4') ? (
|
||||||
<video className="result-video" src={task.outputUrl} controls autoPlay muted loop />
|
<video className="result-video" src={task.outputUrl} controls autoPlay muted loop />
|
||||||
) : (
|
) : (
|
||||||
<img className="result-image" src={`https://mixvideo-workflow.bowong.cc/cdn/${encodeURI(task.outputUrl)}`} alt="Generated result" />
|
<img className="result-image" src={`https://mixvideo-workflow.bowong.cc/cdn/${encodeURIComponent(task.outputUrl)}`} alt="Generated result" />
|
||||||
)
|
)
|
||||||
) : (
|
) : (
|
||||||
<div className="result-placeholder">
|
<div className="result-placeholder">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue