Export apiHostId as the stable host contract for dependents

This commit is contained in:
ai-bot committed 2026-09-24 15:49:56 +00:00
1 parent 37c01787f7
commit fa38277468
1 file changed
+5
+5
View File
@@ -3,6 +3,11 @@
// Port the proxy listens on inside the container (upstream default). // Port the proxy listens on inside the container (upstream default).
export const apiPort = 8787 export const apiPort = 8787
// Host id of the binding the proxy's API and Status Page are served from.
// Dependents import this along with apiPort (the stable contract) rather than
// hardcoding either — mirroring the open-webui KNOWN_BACKENDS pattern.
export const apiHostId = 'main'
// Upstream's PPQ_DATA_DIR inside the container: where it persists the API key // Upstream's PPQ_DATA_DIR inside the container: where it persists the API key
// saved from the status page. // saved from the status page.
export const dataDir = '/data' export const dataDir = '/data'