Skip to content

Commit 3f8b694

Browse files
committed
[KAIZEN-0] Åpne opp CORS for alle domener
1 parent 7469264 commit 3f8b694

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx/default.conf

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ server {
3636
root /usr/share/nginx/html;
3737
index index.html index.htm;
3838
try_files $uri $uri/ =404;
39-
39+
4040
# Hvis vi tillater browser-caching vil vi ikke ha nedetidsfri deploy (!)
4141
add_header Cache-Control no-cache;
42+
add_header Access-Control-Allow-Origin *;
4243
}
4344
}

0 commit comments

Comments
 (0)