Skip to content

Commit

Permalink
Adding production urls
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaenigma committed Feb 23, 2017
1 parent be282c0 commit 4233f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ app.controller('CheckoutController', function($scope, $interval, Order) {
}
$scope.tick_interval = $interval($scope.tick, 1000);
//Websocket
var ws = new WebSocket("ws://localhost:8080/payment/" + $scope.order.address + "?timestamp=" + $scope.order.timestamp);
var ws = new WebSocket("wss://www.blockonomics.co/payment/" + $scope.order.address + "?timestamp=" + $scope.order.timestamp);
ws.onmessage = function (evt) {
$interval(function(){
window.location.reload();
Expand Down
2 changes: 1 addition & 1 deletion php/Blockonomics.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class Blockonomics
{
const BASE_URL = 'http://localhost:8080';
const BASE_URL = 'https://www.blockonomics.co';
const NEW_ADDRESS_URL = Blockonomics::BASE_URL. '/api/new_address';
const PRICE_URL = Blockonomics::BASE_URL.'/api/price';

Expand Down

0 comments on commit 4233f47

Please sign in to comment.