Skip to content

Commit c2cdadb

Browse files
committed
add Access-Control-Allow-Origin for images and assets
1 parent 987a87f commit c2cdadb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

static/_headers

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
/assets/public-opinion.txt
2-
Access-Control-Allow-Origin: *
2+
Access-Control-Allow-Origin: *
3+
/assets/*
4+
Access-Control-Allow-Origin: https://worker.elm-lang.org
5+
/images/*
6+
Access-Control-Allow-Origin: https://worker.elm-lang.org

0 commit comments

Comments
 (0)