Fix for Messages URL

This commit is contained in:
Braydon Fuller 2015-09-17 15:51:31 -04:00
parent dd3d590a44
commit af08592d01
1 changed files with 1 additions and 1 deletions

View File

@ -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