list roles, make sidebar component, responsive mobile settings menu selector

This commit is contained in:
Milo Schwartz
2024-11-09 00:08:17 -05:00
parent 9c2e481d2b
commit bb17d30c9e
25 changed files with 733 additions and 207 deletions

View File

@@ -79,6 +79,7 @@ export async function createSite(
subnet,
})
.returning();
const adminRole = await db
.select()
.from(roles)
@@ -104,7 +105,7 @@ export async function createSite(
});
}
// Add the peer to the exit node
// add the peer to the exit node
await addPeer(exitNodeId, {
publicKey: pubKey,
allowedIps: [],