Skip to content

Commit

Permalink
Disclude url
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Aug 8, 2024
1 parent 1b93a73 commit 1a5668b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites-enabled/next.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ server {
proxy_pass http://k8s_production;
}

location ~ /api/v1/(authenticate|users) {
location ~ /api/v1/(authenticate|users)(?!/full) {
if ($request_method = OPTIONS) {
add_header 'Access-Control-Allow-Origin' $cors_allowed_origin always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, PATCH, DELETE, OPTIONS';
Expand Down

0 comments on commit 1a5668b

Please sign in to comment.