Merge pull request #1569 from SkynetLabs/enable-cors-on-logout-endpoint

enable cors on /logout endpoint
This commit is contained in:
Ivaylo Novakov 2022-03-02 17:45:23 +01:00 committed by GitHub
commit a8dda639da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -41,3 +41,10 @@ location /api/login {
rewrite /api/(.*) /$1 break;
proxy_pass http://accounts:3000;
}
location /api/logout {
include /etc/nginx/conf.d/include/cors;
rewrite /api/(.*) /$1 break;
proxy_pass http://accounts:3000;
}