@capillarytech/creatives-library 7.17.176 → 7.17.177-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/app.js +1 -1
- package/package.json +1 -1
- package/v2Containers/Templates/index.js +1 -1
package/config/app.js
CHANGED
|
@@ -16,7 +16,7 @@ const config = {
|
|
|
16
16
|
accountConfig: (strs, accountId) => `${window.location.origin}/org/config/AccountAdd?q=a&channelId=2&accountId=${accountId}&edit=1`,
|
|
17
17
|
},
|
|
18
18
|
development: {
|
|
19
|
-
api_endpoint: '
|
|
19
|
+
api_endpoint: 'http://localhost:2022/arya/api/v1/creatives',
|
|
20
20
|
campaigns_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/campaigns',
|
|
21
21
|
campaigns_api_org_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/org/campaign',
|
|
22
22
|
auth_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/auth',
|
package/package.json
CHANGED
|
@@ -634,7 +634,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
634
634
|
paramsDefault.username = name;
|
|
635
635
|
paramsDefault.oa_id = sourceAccountIdentifier;
|
|
636
636
|
paramsDefault.token = token;
|
|
637
|
-
paramsDefault.host = hostName;
|
|
637
|
+
paramsDefault.host = hostName || this.state.hostName;
|
|
638
638
|
}
|
|
639
639
|
} else {
|
|
640
640
|
paramsDefault.wecrmId = wecrm_app_id;
|