CORS error insecure private network

11. janvāris, 2023

You are developing localy on localhost and make xhr request from javascript to your locahost and get this CORS error: insecure private network

This is chrome security feature. You can make xhr requests only from https

To disable this change this config in Chrome

chrome://flags/#block-insecure-private-network-requests