Update ws paths

This commit is contained in:
Owen 2025-02-21 12:34:05 -05:00
parent bec303821b
commit ef69bf9256
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
2 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,7 @@ export const handleGetConfigMessage: MessageHandler = async (context) => {
clientsRes.map(async (client) => {
return {
publicKey: client.pubKey,
allowedIps: "0.0.0.0/0"
allowedIps: "0.0.0.0/0" // TODO: We should lock this down more
};
})
);
@ -107,7 +107,7 @@ export const handleGetConfigMessage: MessageHandler = async (context) => {
return {
message: {
type: "newt/wg/connect", // what to make the response type?
type: "newt/wg/receive-config", // what to make the response type?
data: {
config: configResponse
}