Skip to content

Commit 9501a37

Browse files
committed
CORS 아폴로 헤더 추가
1 parent 75a6f8c commit 9501a37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ jobs:
5050
5151
add_header 'Access-Control-Allow-Origin' 'https://loa-life.vercel.app' always;
5252
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
53-
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization' always;
53+
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,Apollo-Require-Preflight,x-apollo-operation-name,apollo-require-preflight' always;
5454
add_header 'Access-Control-Allow-Credentials' 'true' always;
5555
5656
if ($request_method = 'OPTIONS') {
5757
add_header 'Access-Control-Allow-Origin' 'https://loa-life.vercel.app' always;
5858
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
59-
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization' always;
59+
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,Apollo-Require-Preflight,x-apollo-operation-name,apollo-require-preflight' always;
6060
add_header 'Access-Control-Allow-Credentials' 'true' always;
6161
add_header 'Access-Control-Max-Age' 1728000;
6262
add_header 'Content-Type' 'text/plain; charset=utf-8';

0 commit comments

Comments
 (0)