wcpos / electron

Electron Desktop App for WooCommerce POS
5 stars 2 forks source link

Unable to run localhost website with in app #77

Open arulmozhimanikandan opened 1 year ago

arulmozhimanikandan commented 1 year ago

Summary

I have tried setting up the pos with the localhost endpoint but I was not able to move further as I got the following error "link header not exposed". could you please help me with explaining what the error means?

kilbot commented 1 year ago

If you're running in localhost it probably means that you have a self-signed certificate, or perhaps no https at all. This is going to cause a problem because the WC REST API needs SSL to work.

I need to add a better error message, but basically the error means it tried to get the WC REST API url (the Link header) but it was not in the response.