Can create gateway resource

This commit is contained in:
Owen
2026-09-24 09:49:09 -04:00
parent a17b870ed2
commit 3378125f8e
5 changed files with 38 additions and 17 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ export const siteResources = sqliteTable("siteResources", {
ssl: integer("ssl", { mode: "boolean" }).notNull().default(false),
mode: text("mode")
.$type<"host" | "cidr" | "http" | "ssh" | "inference" | "gateway">()
.notNull(), // "host" | "cidr" | "http"
.notNull(),
scheme: text("scheme").$type<"http" | "https">(), // only for when we are doing https or http mode
proxyPort: integer("proxyPort"), // only for port mode
destinationPort: integer("destinationPort"), // only for port mode