| 123456789101112 |
- const ASSET_BASE_URL = 'https://transcend.ringzle.com/web/assets'
- const IMAGE_PATH = '/images/'
- function imageUrl(filename) {
- const normalizedFilename = String(filename || '').replace(/^\/+/, '')
- return `${ASSET_BASE_URL}${IMAGE_PATH}${encodeURIComponent(normalizedFilename)}`
- }
- module.exports = {
- ASSET_BASE_URL,
- imageUrl
- }
|