Fix for Messages URL
This commit is contained in:
parent
dd3d590a44
commit
af08592d01
|
@ -22,7 +22,7 @@ angular.module('insight.messages').controller('VerifyMessageController',
|
|||
$scope.verify = function() {
|
||||
$scope.verification.status = 'loading';
|
||||
$scope.verification.address = $scope.message.address;
|
||||
$http.post('/api/messages/verify', $scope.message)
|
||||
$http.post(window.apiPrefix + '/messages/verify', $scope.message)
|
||||
.success(function(data, status, headers, config) {
|
||||
if(typeof(data.result) != 'boolean') {
|
||||
// API returned 200 but result was not true or false
|
||||
|
|
Loading…
Reference in New Issue