mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-22 10:19:04 +02:00
Remove orgId
This commit is contained in:
parent
fcc86b07ba
commit
d5a11edd0c
3 changed files with 2 additions and 7 deletions
|
@ -122,9 +122,6 @@ export const exitNodes = pgTable("exitNodes", {
|
|||
listenPort: integer("listenPort").notNull(),
|
||||
reachableAt: varchar("reachableAt"),
|
||||
maxConnections: integer("maxConnections"),
|
||||
orgId: text("orgId").references(() => orgs.orgId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
online: boolean("online").notNull().default(false),
|
||||
lastPing: integer("lastPing"),
|
||||
type: text("type").default("gerbil") // gerbil, remoteExitNode
|
||||
|
|
|
@ -134,9 +134,6 @@ export const exitNodes = sqliteTable("exitNodes", {
|
|||
listenPort: integer("listenPort").notNull(),
|
||||
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
|
||||
maxConnections: integer("maxConnections"),
|
||||
orgId: text("orgId").references(() => orgs.orgId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
online: integer("online", { mode: "boolean" }).notNull().default(false),
|
||||
lastPing: integer("lastPing"),
|
||||
type: text("type").default("gerbil") // gerbil, remoteExitNode
|
||||
|
|
|
@ -261,7 +261,8 @@ export class TraefikConfigManager {
|
|||
{
|
||||
params: {
|
||||
domains: domainArray
|
||||
}
|
||||
},
|
||||
headers: (await tokenManager.getAuthHeader()).headers
|
||||
}
|
||||
);
|
||||
return response.data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue