mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:50:43 +00:00
refactor: trim unused core exports
This commit is contained in:
@@ -63,7 +63,3 @@ export function registerConfiguredBindingConsumer(consumer: ConfiguredBindingCon
|
||||
id,
|
||||
});
|
||||
}
|
||||
|
||||
export function unregisterConfiguredBindingConsumer(id: string): void {
|
||||
registeredConfiguredBindingConsumers.delete(id.trim());
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ import { fetchWithRuntimeDispatcher } from "../runtime-fetch.js";
|
||||
import { createHttp1ProxyAgent } from "../undici-runtime.js";
|
||||
|
||||
export const DEFAULT_PROXY_VALIDATION_ALLOWED_URLS = ["https://example.com/"] as const;
|
||||
export const DEFAULT_PROXY_VALIDATION_DENIED_URLS = ["http://127.0.0.1/"] as const;
|
||||
|
||||
export const DEFAULT_PROXY_VALIDATION_TIMEOUT_MS = 5000;
|
||||
const DENIED_CANARY_HEADER = "x-openclaw-proxy-validation-canary";
|
||||
|
||||
Reference in New Issue
Block a user