Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Tests: describe the forwarded address without naming a server

Adarsh5be5a51d29cd
diff --git a/tests/sign-in-hardening.test.ts b/tests/sign-in-hardening.test.ts
index 756e3f54..b30d133d 100644
--- a/tests/sign-in-hardening.test.ts
+++ b/tests/sign-in-hardening.test.ts
@@ -30,7 +30,7 @@ function resetGuards() {
}
let ip = 0;
-/** A visitor's address, as Apache passes it on (the last X-Forwarded-For hop). */
+/** A visitor's address, as a trusted reverse proxy passes it on (the last X-Forwarded-For hop). */
const nextIp = () => `198.51.100.${++ip % 250}`;
const post = (url: string, body: unknown, from = nextIp(), cookie?: string, method = "POST") =>
new Request(`http://localhost:3000${url}`, {