headplane/server/context/app.ts
Aarnav Tale 749f809119
feat: switch to a central singleton handler
This also adds support for Headscale TLS installations
2025-03-18 00:25:26 -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,
};
}