mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 19:25:24 +00:00
feat(web): use global var for endpoint
This commit is contained in:
parent
0c05194b85
commit
9722af8e18
@ -124,7 +124,7 @@
|
||||
<figure class="px-5 pt-5">
|
||||
<img
|
||||
class="w-full h-48 object-cover"
|
||||
src={`http://localhost:8080/files/${item.filepath}`}
|
||||
src={`${apiEndpoint}/files/${item.filepath}`}
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
|
Loading…
x
Reference in New Issue
Block a user