Skip to content

Commit 3072564

Browse files
committed
secure api
1 parent ad61d0d commit 3072564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/services/posts.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const httpOptions = {
1212

1313
@Injectable()
1414
export class PostsService {
15-
private apiUrl = 'http://jsonplaceholder.typicode.com/posts'; // URL to web api
15+
private apiUrl = 'https://jsonplaceholder.typicode.com/posts'; // URL to web api
1616

1717
constructor(private http: HttpClient) {}
1818

0 commit comments

Comments
 (0)