Fix tests, permissions

This commit is contained in:
Minoru Mizutani 2025-04-29 11:30:51 +09:00
parent 8be8e20efa
commit baedc1f32a
No known key found for this signature in database
8 changed files with 74 additions and 36 deletions

View file

@ -159,7 +159,7 @@ export async function coordinateAuth(
log("Authentication completed by another instance");
// Setup a dummy server - the client will use tokens directly from disk
const dummyServer = express().listen(0); // Listen on any available port
const dummyServer = express().listen(0, "localhost"); // Listen on any available port on localhost only
// This shouldn't actually be called in normal operation, but provide it for API compatibility
const dummyWaitForAuthCode = () => {