Skip to content

Commit cabe771

Browse files
committed
use the locally hosted version
1 parent a7e3bf7 commit cabe771

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/containers/library-item.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from 'react';
44
import {injectIntl, intlShape, defineMessages} from 'react-intl';
55

66
import LibraryItemComponent from '../components/library-item/library-item.jsx';
7-
import {APP_DOMAIN} from '../lib/brand';
7+
import {API_HOST} from '../lib/brand';
88

99
const messages = defineMessages({
1010
incompatible: {
@@ -130,7 +130,7 @@ class LibraryItem extends React.PureComponent {
130130
render () {
131131
const iconMd5 = this.curIconMd5();
132132
const iconURL = iconMd5 ?
133-
(APP_DOMAIN+`/Assets/sprites/${iconMd5}`) :
133+
(API_HOST+`/assets/${iconMd5}`) :
134134
this.props.iconRawURL;
135135
return (
136136
<LibraryItemComponent

0 commit comments

Comments
 (0)