bebo925 / ng-thermal-print

Angular module for connecting and printing to thermal printers.
MIT License
42 stars 44 forks source link

has been blocked by CORS policy on Ionic5 #24

Open edosgn opened 4 years ago

edosgn commented 4 years ago

Access to XMLHttpRequest at 'http://192.168.0.184/StarWebPRNT/SendMessage' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.

I've been trying to solve it for a couple of days, I follow exactly what the documentation indicates but it always generates this error. Can you help me

hoxer80 commented 3 years ago

I have same issue. Any one fixed this problem??

bebo925 commented 3 years ago

I am pretty sure everything has to be https for this to work.

rmpt commented 3 years ago

not working even over https. Any idea how to solve this?

NicholasJCameron commented 2 years ago

any resolution on this?