HelloZeroNet / HelloZeroNet/ZeroNet

Access-Control-Allow-Origin error on font

Aperta
#2,745 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Step 1: Please describe your environment

* ZeroNet version: 0.7.1 rev4206
* Operating system: Ubuntu 20.10
* Web browser: Firefox
* Tor status: not available/always/disabled
* Opened port: yes/no
* Special configuration: ____

### Step 2: Describe the problem:

On my site Firefox 87.0 does not include the custom fonts any more. I get the error

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:43110/1XXXXXXXXXXXXXXXXXXXXXX/css/fonts/kingsbridge_rg.ttf. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Although the url to the font is ok, if I click on the link in the Firefox console I can download the font. Why does ZeroNet not allow to use a font which is on the same ZeroNet site?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.