mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
Feat : qoder provider
This commit is contained in:
@@ -100,7 +100,10 @@ export async function enableTunnel(localPort = 20128) {
|
||||
console.log("[Tunnel] enable success");
|
||||
return { success: true, tunnelUrl, shortId, publicUrl };
|
||||
} catch (e) {
|
||||
console.error(`[Tunnel] enable error: ${e.message}`);
|
||||
// Suppress noise when spawn was deliberately killed (restart/disable superseded it)
|
||||
if (!/cloudflared killed|tunnel cancelled/.test(e.message)) {
|
||||
console.error(`[Tunnel] enable error: ${e.message}`);
|
||||
}
|
||||
throw e;
|
||||
} finally {
|
||||
svc.spawnInProgress = false;
|
||||
|
||||
Reference in New Issue
Block a user