ionic-team / ionic-team/ionic-docs

feat: add ionic's wanted/basic Content-Security-Policy config into the docs (or src/index.html?)

Đang mở
#1,573 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
MDX
Star
621
Fork
3.2k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
86

Mô tả

# Feature Request

**Ionic version:**
[x] **5.x**

**Describe the Feature Request**
Add information about how to support new protocols on `Content-Security-Policy ` without break Ionic.

**Additional Context**
I want to support the cdvfile protocol and it requires to add cdvfile: to the `Content-Security-Policy` meta tag. Since no one exist I have to play adding and removing tags until I get no more errors in the console.

I was not able to find what was the current "default" `Content-Security-Policy` by an Ionic 5 project.

This is also needed to support web sockets.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.