Skip to content

Commit

Permalink
Use https for lorempixel to avoid mixed-content security warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Oct 26, 2017
1 parent b6971bc commit 78fd631
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/adapters/sils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

import Ember from 'ember';
import RSVP from 'rsvp';
import DS from 'ember-data';
Expand All @@ -18,7 +19,7 @@ export default DS.RESTAdapter.extend(buildQueryParamsMixin, {
let url = this.buildURL(type.modelName, null, null, 'query', query);

console.log("sending request for sils ... ");
return new RSVP.Promise(resolve => resolve([{ _id: 1, _modelType: "sils", icon: "http://lorempixel.com/400/400/abstract/" }]));
return new RSVP.Promise(resolve => resolve([{ _id: 1, _modelType: "sils", icon: "https://lorempixel.com/400/400/abstract/" }]));

//TODO: uncomment this after sils endpoint working
// return this.get('authRequest').send(url, {headers:{'content-type':'application/json'}});
Expand All @@ -36,4 +37,4 @@ export default DS.RESTAdapter.extend(buildQueryParamsMixin, {

return url;
}
});
});

0 comments on commit 78fd631

Please sign in to comment.