#374 - private setting to change the HTTP host

This commit is contained in:
Simon Cambier
2024-05-25 23:01:43 +02:00
parent 6566a2e958
commit efdfbbcf8a
2 changed files with 9 additions and 2 deletions

View File

@@ -67,6 +67,8 @@ export interface OmnisearchSettings extends WeightingSettings {
httpApiEnabled: boolean
httpApiPort: string
httpApiNotice: boolean
DANGER_httpHost: string | null
}
/**
@@ -751,6 +753,8 @@ export function getDefaultSettings(app: App): OmnisearchSettings {
welcomeMessage: '',
verboseLogging: false,
DANGER_httpHost: null,
}
}