machinebox / webFaceID

Use HTML5, Go and Facebox to implement face verification on a website
Apache License 2.0
59 stars 14 forks source link

fixing few bugs in demo. #2

Open najamsk opened 5 years ago

najamsk commented 5 years ago

main.go boxutil package has x into its path which is not found on filesystem for that go was throwing errors. removed x to build script.

assets/app.js script to create media stream was using old api. wrap that code in try block. if modern browser throws exception use new api otherwise keep using old api call.