enable cors on /logout endpoint
This commit is contained in:
parent
cafa312e10
commit
634bf8d6ba
|
@ -42,3 +42,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;
|
||||
}
|
||||
|
|
Reference in New Issue