fix: allow hostname passthrough for hono node

This commit is contained in:
Aarnav Tale
2025-03-24 13:57:04 -04:00
parent 03acebb23e
commit 5918d0e501
7 changed files with 55 additions and 14 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
import { HeadplaneConfig } from '~/server/config/schema';
import log from '~/utils/log';
import { hp_getConfig } from '~server/context/global';
import type { HeadplaneConfig } from '~server/context/parser';
import { Integration } from './abstract';
// import dockerIntegration from './docker';
// import kubernetesIntegration from './kubernetes';
@@ -66,5 +65,5 @@ function getIntegration(integration: HeadplaneConfig['integration']) {
// IMPORTANT THIS IS A SIDE EFFECT ON INIT
// TODO: Switch this to the new singleton system
const context = hp_getConfig();
// const context = hp_getConfig();
// hp_loadIntegration(context.integration);