Closed AlexandrSorokin closed 5 years ago
Thanks for the PR. If this is your first PR with us please fill this form out and ashley will send you some stickers and a handwritten letter. https://docs.google.com/forms/d/e/1FAIpQLSfiBjBC3ALBMiWHQXNvYqNlr5ywW2fhw7i0n82w7gwqN_uc4g/viewform
Description of changes
Before saving CodeSchool to the database, it takes the following steps: 1) Substitutes the protocol
http
in url without protocol 2) Make HTTP call to url withhttps
3) Ifhttps
is not available, then change protocol tohttp
The http call slows down saving to the database. It can be avoided by using only the http protocol. This is my first commit to an open source project, so please tell me what I am doing wrong if you can :blush:
Issue Resolved
Fixes #436