/**
 * Copyright IBM Corp. 2016, 2025
 * SPDX-License-Identifier: BUSL-1.1
 */

import { helper } from '@ember/component/helper';
import ENV from 'vault/config/environment';

export default helper(function ([path]) {
  return path.replace(/^~\//, `${ENV.rootURL}images/`);
});
