update config host
This commit is contained in:
parent
9100e0a8e5
commit
dbdbf58339
|
|
@ -20,7 +20,7 @@ export class Product extends CoreEntity {
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
const path = `medias/products/${title}/${item}`;
|
const path = `medias/products/${(title as string).toLowerCase().replaceAll(' ', '-')}/${item}`;
|
||||||
|
|
||||||
if (env === 'dev') {
|
if (env === 'dev') {
|
||||||
return `http://localhost:${port}${prefix}/${path}`;
|
return `http://localhost:${port}${prefix}/${path}`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue