fix: honor an installation HTTP private-host allowlist for Evidence
This commit is contained in:
@@ -201,6 +201,8 @@ function createProductionService(): WorkspacePreprocessingService {
|
||||
});
|
||||
return new WorkspacePreprocessingService({
|
||||
dataRoot: config.dataRoot ?? "/data",
|
||||
httpPrivateHostAllowlist: (process.env.THT_EVIDENCE_PRIVATE_HOST_ALLOWLIST ?? "")
|
||||
.split(",").map((value) => value.trim()).filter((value) => value.length > 0),
|
||||
acquireActiveRuntime: async (workspaceId) => {
|
||||
const active = await renderActiveWorkspaceRuntime({
|
||||
workspaceId,
|
||||
|
||||
Reference in New Issue
Block a user