mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-21 04:16:38 +00:00
add wg site get config and pick client defaults
This commit is contained in:
@@ -86,7 +86,7 @@ export async function getConfig(req: Request, res: Response, next: NextFunction)
|
||||
const peers = await Promise.all(sitesRes.map(async (site) => {
|
||||
return {
|
||||
publicKey: site.pubKey,
|
||||
allowedIps: await getAllowedIps(site.siteId)
|
||||
allowedIps: await getAllowedIps(site.siteId) // put 0.0.0.0/0 for now
|
||||
};
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user