add exit node name and fix db import issues

This commit is contained in:
miloschwartz 2025-06-15 17:49:27 -04:00
parent d46b9eaf87
commit b39708700d
No known key found for this signature in database
24 changed files with 39 additions and 38 deletions

View file

@ -2,8 +2,8 @@ import {
encodeHexLowerCase,
} from "@oslojs/encoding";
import { sha256 } from "@oslojs/crypto/sha2";
import { Olm, olms, olmSessions, OlmSession } from "@server/db/schemas";
import db from "@server/db";
import { Olm, olms, olmSessions, OlmSession } from "@server/db";
import { db } from "@server/db";
import { eq } from "drizzle-orm";
export const EXPIRES = 1000 * 60 * 60 * 24 * 30;