-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello, thank you for your tutorial on https://levelup.gitconnected.com/how-to-embed-a-web-server-inside-desktop-applications-643ce3cb51bf .
I had a small CORS problem which I solved on server by allowing any site to reach my app's endpoint (localhost:myPort) - AllowAnyOrigin() in ApiStartup. This solution works well on HTTP.
However, by enabling HTTPS (by creating my own self-signed certificate and configuring ServerService), I get CORS problem back. Api works on HTTPS via Postman normally, but browser always returns CORS error even though I imported my self-signed certificate in local truststore.
Do you have any idea what might cause such an issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels