playcanvas / playcanvas-sync

Real-time synchronization of files between PlayCanvas and your local machine
https://playcanvas.com/
MIT License
75 stars 18 forks source link

throw an error for non https api urls #3

Closed zachpeterpaul closed 4 years ago

zachpeterpaul commented 4 years ago

As per Winston's request on playcanvas-sync security review (https://jira.sc-corp.net/browse/REV-7684), I'm adding code that will throw an error if a non-https url is used to connect to PlayCanvas api.