Skip to content

Commit

Permalink
Add overall-stats API
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Aug 11, 2024
1 parent 7d04772 commit b045ba8
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|logout|users/(\d+)) {
location ~ /api/v1/(authenticate|logout|overall-stats|users/(\d+)) {
add_header 'Access-Control-Allow-Origin' $cors_allowed_origin always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, PATCH, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'origin, content-type, accept' always;
Expand Down

0 comments on commit b045ba8

Please sign in to comment.