There was an error while loading. Please reload this page.
1 parent ad61d0d commit 3072564Copy full SHA for 3072564
src/app/services/posts.service.ts
@@ -12,7 +12,7 @@ const httpOptions = {
12
13
@Injectable()
14
export class PostsService {
15
- private apiUrl = 'http://jsonplaceholder.typicode.com/posts'; // URL to web api
+ private apiUrl = 'https://jsonplaceholder.typicode.com/posts'; // URL to web api
16
17
constructor(private http: HttpClient) {}
18
0 commit comments