Relay port must have default value

This commit is contained in:
Owen
2026-10-19 11:23:06 -04:00
parent 4555ef8da8
commit 65571d8eeb
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -525,7 +525,7 @@ export const exitNodes = sqliteTable("exitNodes", {
endpoint: text("endpoint").notNull(), // this is how to reach gerbil externally - gets put into the wireguard config
publicKey: text("publicKey").notNull(),
listenPort: integer("listenPort").notNull(),
relayPort: integer("relayPort").notNull(),
relayPort: integer("relayPort").notNull().default(21820),
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
maxConnections: integer("maxConnections"),
online: integer("online", { mode: "boolean" }).notNull().default(false),