headplane/server/context/app.ts
Aarnav Tale 6108de52e7
feat: switch to a central singleton handler
This also adds support for Headscale TLS installations
2025-03-17 22:21:16 -04:00

12 lines
213 B
TypeScript

import { hp_agentRequest } from '~server/ws/data';
export interface AppContext {
hp_agentRequest: typeof hp_agentRequest;
}
export default function appContext(): AppContext {
return {
hp_agentRequest,
};
}