Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
fix(staticFilesLoader): do not use empty string as $http params
Browse files Browse the repository at this point in the history
Closes #1646
  • Loading branch information
zgmnkv authored and knalli committed Jan 1, 2017
1 parent ee1247e commit ac2a038
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/service/loader-static-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ function $translateStaticFilesLoader($q, $http) {

return $http(angular.extend({
url: fileUrl,
method: 'GET',
params: ''
method: 'GET'
}, options.$http))
.then(function(result) {
return result.data;
Expand Down

0 comments on commit ac2a038

Please sign in to comment.