mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-13 00:16:39 +00:00
Dont do socket on non-newt sites
This commit is contained in:
@@ -141,6 +141,7 @@ export async function createSite(
|
||||
niceId,
|
||||
subnet,
|
||||
type,
|
||||
dockerSocketEnabled: type == "newt",
|
||||
...(pubKey && type == "wireguard" && { pubKey })
|
||||
})
|
||||
.returning();
|
||||
@@ -154,6 +155,7 @@ export async function createSite(
|
||||
name,
|
||||
niceId,
|
||||
type,
|
||||
dockerSocketEnabled: type == "newt",
|
||||
subnet: "0.0.0.0/0"
|
||||
})
|
||||
.returning();
|
||||
|
||||
Reference in New Issue
Block a user