Skip to content

Commit

Permalink
Enable CORS for RSS feed (#1369)
Browse files Browse the repository at this point in the history
This will allow using the feed in a Grafana dashboard news panel.

Signed-off-by: Norbert Szulc <[email protected]>
Co-authored-by: shuting <[email protected]>
  • Loading branch information
not7cd and realshuting authored Oct 8, 2024
1 parent 03c1967 commit 95b13ce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,9 @@ status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
X-Frame-Options = "SAMEORIGIN"

[[headers]]
for = "/blog/index.xml"
[headers.values]
access-control-allow-origin = "*"

0 comments on commit 95b13ce

Please sign in to comment.