mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 09:34:48 +02:00
Initial hp working?
This commit is contained in:
parent
a9a9391b39
commit
e4c5be4350
6 changed files with 49 additions and 16 deletions
|
@ -6,6 +6,7 @@ import { sendToClient } from '../ws';
|
|||
export async function addPeer(siteId: number, peer: {
|
||||
publicKey: string;
|
||||
allowedIps: string[];
|
||||
endpoint: string;
|
||||
}) {
|
||||
|
||||
const [site] = await db.select().from(sites).where(eq(sites.siteId, siteId)).limit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue