HelloZeroNet / HelloZeroNet/ZeroNet
Access-Control-Allow-Origin error on font
- 主要言語
- JavaScript
- スター
- 18.8k
- フォーク
- 2.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Reproduce the report in Firefox 87 using the font URL shown in the issue, then inspect the response headers and ZeroNet's request path for that resource. Done means the custom font loads from the same ZeroNet site without the Access-Control-Allow-Origin error.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css
- 領域
- backend, web-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100