From 707e0db02b0267348c499385b39f4ec9e4e41684 Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 15 Apr 2024 11:24:29 +0200 Subject: [PATCH] added acceptation config --- pwa/src/services/getConfig.ts | 52 +++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/pwa/src/services/getConfig.ts b/pwa/src/services/getConfig.ts index 9324217e..dbfe94d3 100644 --- a/pwa/src/services/getConfig.ts +++ b/pwa/src/services/getConfig.ts @@ -26,46 +26,53 @@ import { TGroupedSelectOption } from "@conduction/components/lib/components/form export const getConfig = (themeOrDomainName: string): Record | undefined => { switch (themeOrDomainName) { + case "epe-theme": case "open.epe.nl": - case "epe.koophulpje.nl": case "epe.openwoo.app": - case "epe-theme": + case "epe.koophulpje.nl": + case "acceptatie-open.epe.nl": return Epe; + case "noordwijk-theme": case "open.noordwijk.nl": - case "noordwijk.koophulpje.nl": case "noordwijk.openwoo.app": - case "noordwijk-theme": + case "noordwijk.koophulpje.nl": + case "acceptatie-open.noordwijk.nl": return Noordwijk; + case "rotterdam-theme": case "open.rotterdam.nl": - case "rotterdam.koophulpje.nl": case "rotterdam.openwoo.app": - case "rotterdam-theme": + case "rotterdam.koophulpje.nl": + case "acceptatie-open.rotterdam.nl": return Rotterdam; + case "noaberkracht-theme": case "open.noaberkracht.nl": - case "noaberkracht.koophulpje.nl": case "noaberkracht.openwoo.app": - case "noaberkracht-theme": + case "noaberkracht.koophulpje.nl": + case "acceptatie-open.noaberkracht.nl": return Noaberkracht; + case "tubbergen-theme": case "open.tubbergen.nl": - case "tubbergen.koophulpje.nl": case "tubbergen.openwoo.app": - case "tubbergen-theme": + case "tubbergen.koophulpje.nl": + case "acceptatie-open.tubbergen.nl": return Tubbergen; + case "dinkelland-theme": case "open.dinkelland.nl": - case "dinkelland.koophulpje.nl": case "dinkelland.openwoo.app": - case "dinkelland-theme": + case "dinkelland.koophulpje.nl": + case "acceptatie-open.dinkelland.nl": return Dinkelland; + case "xxllnc-theme": case "open.xxllnc.nl": - case "xxllnc.koophulpje.nl": case "xxllnc.openwoo.app": - case "xxllnc-theme": + case "xxllnc.koophulpje.nl": + case "acceptatie-open.xxllnc.nl": return Xxllnc; case "zutphen-theme": @@ -75,27 +82,30 @@ export const getConfig = (themeOrDomainName: string): Record | unde case "acceptatie-open.zutphen.nl": return Zutphen; + case "zuiddrecht-theme": case "open.zuiddrecht.nl": - case "zuiddrecht.koophulpje.nl": case "zuiddrecht.openwoo.app": - case "zuiddrecht-theme": + case "zuiddrecht.koophulpje.nl": + case "acceptatie-open.zuiddrecht.nl": return Zuiddrecht; + case "sloterburg-theme": case "open.sloterburg.nl": - case "sloterburg.koophulpje.nl": case "sloterburg.openwoo.app": - case "sloterburg-theme": + case "sloterburg.koophulpje.nl": + case "acceptatie-open.sloterburg.nl": return Sloterburg; + case "gouda-theme": case "open.gouda.nl": - case "gouda.koophulpje.nl": case "gouda.openwoo.app": - case "gouda-theme": + case "gouda.koophulpje.nl": + case "acceptatie-open.gouda.nl": return Gouda; + case "openwoo.app": case "koophulpje.nl": case "open-webconcept-theme": - case "openwoo.app": // case "localhost": // development purposes return OpenWebconcept;