Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 78fd631

Browse files
committed
Use https for lorempixel to avoid mixed-content security warnings
1 parent b6971bc commit 78fd631

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/adapters/sils.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
import Ember from 'ember';
23
import RSVP from 'rsvp';
34
import DS from 'ember-data';
@@ -18,7 +19,7 @@ export default DS.RESTAdapter.extend(buildQueryParamsMixin, {
1819
let url = this.buildURL(type.modelName, null, null, 'query', query);
1920

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

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

3738
return url;
3839
}
39-
});
40+
});

0 commit comments

Comments
 (0)