mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-08 06:30:04 +00:00
Fix source url with api prefix
This commit is contained in:
@@ -59,13 +59,13 @@
|
||||
<img
|
||||
v-if="currentItem?.type === 'image'"
|
||||
class="h-full w-full object-contain"
|
||||
:src="`/output/${folderPrefix}${currentItem?.name}`"
|
||||
:src="`/api/output/${folderPrefix}${currentItem?.name}`"
|
||||
alt="preview"
|
||||
/>
|
||||
<video
|
||||
v-if="currentItem?.type === 'video'"
|
||||
class="h-full w-full object-contain"
|
||||
:src="`/output/${folderPrefix}${currentItem?.name}`"
|
||||
:src="`/api/output/${folderPrefix}${currentItem?.name}`"
|
||||
controls
|
||||
></video>
|
||||
<div
|
||||
@@ -78,7 +78,7 @@
|
||||
>
|
||||
<div class="text-center mb-2">{{ currentItem?.name }}</div>
|
||||
<audio
|
||||
:src="`/output/${folderPrefix}${currentItem?.name}`"
|
||||
:src="`/api/output/${folderPrefix}${currentItem?.name}`"
|
||||
controls
|
||||
></audio>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user