mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
Remove console log
This commit is contained in:
parent
f9b375a39b
commit
1c2e4968e2
@ -290,7 +290,6 @@ class WebServerService extends BaseService {
|
||||
if ( req.path === '/signup' || req.path === '/login' ) {
|
||||
res.setHeader('Access-Control-Allow-Origin', origin ?? '*');
|
||||
}
|
||||
console.log('subdomains', req.subdomains);
|
||||
// Website(s) to allow to connect
|
||||
if ( req.subdomains[req.subdomains.length-1] === 'api' ) {
|
||||
res.setHeader('Access-Control-Allow-Origin', origin ?? '*');
|
||||
|
Loading…
Reference in New Issue
Block a user