mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 10:05:53 +02:00
Dont do socket on non-newt sites
This commit is contained in:
parent
58a2a9dcc9
commit
df4da75c57
6 changed files with 45 additions and 66 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue