mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Drop useless header
This commit is contained in:
parent
5a76bad28d
commit
e7e7363fa7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user