mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-04 04:53:39 +00:00
Drop useless header
This commit is contained in:
1 parent
5a76bad28d
commit
e7e7363fa7
1 file changed
-1
@@ -337,7 +337,6 @@ class WebServerService extends BaseService {
|
||||
req.subdomains[req.subdomains.length-1] === 'api'
|
||||
) {
|
||||
res.setHeader('Access-Control-Allow-Origin', origin ?? '*');
|
||||
res.setHeader('Access-Control-Allow-Credentials', 'true');
|
||||
}
|
||||
|
||||
// Request methods to allow
|
||||
|
||||
Reference in new issue
Block a user