Split static asset mounts by type and centralize paths in storefrontAssetPaths so icon URLs stay aligned with the server.
8 lines
341 B
TypeScript
8 lines
341 B
TypeScript
import { storefrontImgUrlPrefix } from '../config/storefrontAssetPaths';
|
|
import { PaymentMethod } from '../modules/payment/types/PaymentMethod';
|
|
|
|
export const paymentMethodIconUrl: Record<PaymentMethod, string> = {
|
|
[PaymentMethod.Xmr]: `${storefrontImgUrlPrefix}/xmr.png`,
|
|
[PaymentMethod.Btc]: `${storefrontImgUrlPrefix}/btc.png`
|
|
};
|