mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-16 20:02:55 +00:00
Handle newt online offline with websocket
This commit is contained in:
@@ -89,6 +89,7 @@ export const sites = pgTable("sites", {
|
||||
lastBandwidthUpdate: varchar("lastBandwidthUpdate"),
|
||||
type: varchar("type").notNull(), // "newt" or "wireguard"
|
||||
online: boolean("online").notNull().default(false),
|
||||
lastPing: integer("lastPing"),
|
||||
address: varchar("address"),
|
||||
endpoint: varchar("endpoint"),
|
||||
publicKey: varchar("publicKey"),
|
||||
|
||||
Reference in New Issue
Block a user