Removed wrong parameter and fix build

This commit is contained in:
gbuomprisco
2024-06-09 15:47:06 +08:00
parent 83bb1521f7
commit ce18a342ba

View File

@@ -39,7 +39,7 @@ class AuthCallbackService {
// set the host to the request host
// since outside of Vercel it gets set as "localhost"
if (url.host.includes('localhost:')) {
url.host = request.headers.get('host') ?? params.host;
url.host = request.headers.get('host') as string;
url.port = '';
}