const protocol = process.client && window.location.protocol

export default {
  goDomain: `//${process.env.GO_API_DOMAIN}/v1`,
  privateDomain: `//${process.env.PRIVATE_API_DOMAIN}/v1`,
  activityDomain: `//${process.env.ACTIVITY_API_DOMAIN}/v1`,
  defBanner: `//${process.env.OSS_DOMAIN}/common/img/lottery_banner_default_v2.png`,
  defShareImg: `${protocol || 'https:'}//${process.env.OSS_DOMAIN}/common/img/lottery.png`, // 必须带协议头，否则微信分享配置时无法生效
  ossImageServe: process.env.IS_PRIVATE ? '' : '?x-oss-process=style/mobilebackground',
}
