From 4a752a834b349b4aa8841cc5b3cab09854a5dca3 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 27 Jan 2026 10:42:54 -0800 Subject: forward ip to backend --- src/lib/server/ip.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/lib/server/ip.ts (limited to 'src/lib/server') diff --git a/src/lib/server/ip.ts b/src/lib/server/ip.ts new file mode 100644 index 00000000..cfd933ac --- /dev/null +++ b/src/lib/server/ip.ts @@ -0,0 +1,2 @@ +import { AsyncLocalStorage } from "node:async_hooks"; +export const ipStore = new AsyncLocalStorage(); -- cgit v1.2.3