Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #152 from edewit/push_url
Browse files Browse the repository at this point in the history
RHMAP-3268 construct push url from host
  • Loading branch information
edewit committed Jan 6, 2016
2 parents 478e6a5 + aabc192 commit 6724be8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/api_push.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = function (onNotification, success, fail, config) {
} else {
if (window.push) {
var props = appProps.getAppProps();
props.pushServerURL = props.host + '/api/v2/ag-push';
if (config) {
for(var key in config) {
props[key] = config[key];
Expand Down

0 comments on commit 6724be8

Please sign in to comment.