jadjoubran / laravel5-angular-material-starter

Get started with Laravel 5.3 and AngularJS (material)
https://laravel-angular.readme.io/
MIT License
1.66k stars 400 forks source link

Uncaught (in promise) DOMException #450

Closed Fiodor94 closed 7 years ago

Fiodor94 commented 7 years ago

Since I upgraded to version 3.4.0, I keep seeing this "warning" in the javascript console and it doesn't load my page at all.

Error: Uncaught (in promise) DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

Is there a way to take it off ?

Thanks !

flick36 commented 7 years ago

You have to use https since 3.4.0 is pro Progressive Web App you have to create ssl certificates, provide info on what SO you use, and what do you use to mount your server? if you need help on how to create the certificates

Fiodor94 commented 7 years ago

I'm using Laragon. Is there a way to "disable" the Progressive Web App ?

Thanks.

flick36 commented 7 years ago

Laragon plays well with progressive apps, since it autocreates SSL virtual hosts (i use it myself). Sure there are 2 ways, 1st implies you modifiying the code to remove progressive app code, 2: or use version 3.2.x as mentioned in the docs

Fiodor94 commented 7 years ago

Thanks !