mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-23 13:26:41 +00:00
add wg site get config and pick client defaults
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { handleRegisterMessage } from "./newt";
|
||||
import { handleGetConfigMessage } from "./newt/handleGetConfigMessage";
|
||||
import { MessageHandler } from "./ws";
|
||||
|
||||
export const messageHandlers: Record<string, MessageHandler> = {
|
||||
"newt/wg/register": handleRegisterMessage,
|
||||
};
|
||||
"newt/wg/get-config": handleGetConfigMessage,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user