Merge pull request 'Fix Coba lagi image stagging' (#66) from nico/5-feb-26-2 into staggingweb
Reviewed-on: http://wibugit.wibudev.com/wibu/desa-darmasaba/pulls/66
This commit is contained in:
@@ -227,7 +227,8 @@ export async function getAllPublicCdnUrls(): Promise<CdnItem[]> {
|
|||||||
return items
|
return items
|
||||||
.filter((item) => item.type === "file")
|
.filter((item) => item.type === "file")
|
||||||
.map((file) => {
|
.map((file) => {
|
||||||
const path = `${DIR_TARGET}/${file.name}`;
|
// const path = `${DIR_TARGET}/${file.name}`;
|
||||||
|
const path = `/${file.name}`;
|
||||||
return {
|
return {
|
||||||
name: file.name,
|
name: file.name,
|
||||||
path,
|
path,
|
||||||
|
|||||||
Reference in New Issue
Block a user