import getConfig from 'next/config' ; const { publicRuntimeConfig } = getConfig ( ) ; const Utils = { getSharedPath : ( mobilization ? ) => { const domain = publicRuntimeConfig . domainPublic || 'staging.bonde.org' ; return mobilization ?. custom_domain ? `http://${ mobilization ?. custom_domain }` : `http://${ mobilization ?. slug }.${ domain }` ; } , imageUrl : '/static/images/check-mark-image.png' } ; export default Utils ;