filepicker.io Javascript API calls result in unsafe javascript errors
问题 I'm currently using AngularJS, and I would like to call filePicker.pickAndStore from my Upload controller. Any call to a filepicker.io API function results in an "Unsafe Javascript attempt" error: The frame requesting access has a protocol of 'https', the frame being accessed has a > protocol of 'http'. Procols must match. Javascript angular.module('app').controller('UploadCtrl', ['$scope, function ($scope) { $scope.uploadFiles = function() { filepicker.pickAndStore({mimetype:'image/*'},{}