Drop useless header

This commit is contained in:
KernelDeimos 2024-04-29 22:34:19 -04:00
parent 5a76bad28d
commit e7e7363fa7

View File

@ -337,7 +337,6 @@ class WebServerService extends BaseService {
req.subdomains[req.subdomains.length-1] === 'api' req.subdomains[req.subdomains.length-1] === 'api'
) { ) {
res.setHeader('Access-Control-Allow-Origin', origin ?? '*'); res.setHeader('Access-Control-Allow-Origin', origin ?? '*');
res.setHeader('Access-Control-Allow-Credentials', 'true');
} }
// Request methods to allow // Request methods to allow