Skip to content

Commit 5736581

Browse files
committed
Added Access-Control-Allow-Headers: and Access-Control-Expose-Headers: to default config
1 parent b82ea89 commit 5736581

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

conf/icecast.xml.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
-->
9494
<http-headers>
9595
<header type="cors" name="Access-Control-Allow-Origin" />
96+
<header type="cors" name="Access-Control-Allow-Headers" />
97+
<header type="cors" name="Access-Control-Expose-Headers" />
9698
</http-headers>
9799

98100

conf/icecast_minimal.xml.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@
3434
</logging>
3535
<http-headers>
3636
<header type="cors" name="Access-Control-Allow-Origin" />
37+
<header type="cors" name="Access-Control-Allow-Headers" />
38+
<header type="cors" name="Access-Control-Expose-Headers" />
3739
</http-headers>
3840
</icecast>

conf/icecast_shoutcast_compat.xml.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@
4747
</security>
4848
<http-headers>
4949
<header type="cors" name="Access-Control-Allow-Origin" />
50+
<header type="cors" name="Access-Control-Allow-Headers" />
51+
<header type="cors" name="Access-Control-Expose-Headers" />
5052
</http-headers>
5153
</icecast>

0 commit comments

Comments
 (0)