From b65de1be4dcf626c552be613d531d3f6e23c6085 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Dec 2021 09:38:27 +0100 Subject: Use different p2p policy for embeds and webapp --- server/lib/server-config-manager.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'server/lib/server-config-manager.ts') diff --git a/server/lib/server-config-manager.ts b/server/lib/server-config-manager.ts index d759f85e1..18032ef86 100644 --- a/server/lib/server-config-manager.ts +++ b/server/lib/server-config-manager.ts @@ -63,7 +63,12 @@ class ServerConfigManager { licence: CONFIG.DEFAULTS.PUBLISH.LICENCE }, p2p: { - enabled: CONFIG.DEFAULTS.P2P.ENABLED + webapp: { + enabled: CONFIG.DEFAULTS.P2P.WEBAPP.ENABLED + }, + embed: { + enabled: CONFIG.DEFAULTS.P2P.EMBED.ENABLED + } } }, -- cgit v1.2.3