Cors e configurazione htaccess
Ho una applicazione blazor che tenta di collegarsi ad un URL su altervista (pagina statica).
https://davidemercanti.altervista.or...ifica_2021.txt
Ottengo perņ un errore in console
Access to fetch at 'https://davidemercanti.altervista.org/ApiFitriV2/HASH__classifica_2021.txt' from origin 'https://localhost:7135' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled
Puņ dipendere da qualche impostazione del file htaccess?
Come č possibile configurarlo per abilitare CORS?
Grazie