From 5c1c9a97b898b4e200a9ab47eeebe9a2a5c18d07 Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 18 Dec 2023 14:15:09 +0100 Subject: [PATCH 1/3] added koophlupje.nl domain names --- pwa/src/services/getConfig.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/pwa/src/services/getConfig.ts b/pwa/src/services/getConfig.ts index 5a8ab445..143be557 100644 --- a/pwa/src/services/getConfig.ts +++ b/pwa/src/services/getConfig.ts @@ -23,53 +23,88 @@ import { TGroupedSelectOption } from "@conduction/components/lib/components/form export const getConfig = (themeOrDomainName: string): Record | undefined => { switch (themeOrDomainName) { case "open.epe.nl": + case "epe.koophulpje.nl": case "epe-theme": return Epe; + case "open.noordwijk.nl": + case "noordwijk.koophulpje.nl": case "noordwijk-theme": return Noordwijk; + case "open.rotterdam.nl": + case "rotterdam.koophulpje.nl": case "rotterdam-theme": return Rotterdam; + case "open.noaberkracht.nl": + case "noaberkracht.koophulpje.nl": case "noaberkracht-theme": return Noaberkracht; + case "open.tubbergen.nl": + case "tubbergen.koophulpje.nl": case "tubbergen-theme": return Tubbergen; + case "open.dinkelland.nl": + case "dinkelland.koophulpje.nl": case "dinkelland-theme": return Dinkelland; + case "open.xxllnc.nl": + case "xxllnc.koophulpje.nl": case "xxllnc-theme": return Xxllnc; + case "open.zutphen.nl": + case "zutphen.koophulpje.nl": case "zutphen-theme": return Zutphen; + case "koophulpje.nl": case "open-webconcept-theme": // case "localhost": // development purposes return OpenWebconcept; case "barendrecht": + case "barendrecht.koophulpje.nl": return Barendrecht; + case "ridderkerk": + case "ridderkerk.koophulpje.nl": return Ridderkerk; + case "buren": + case "buren.koophulpje.nl": return Buren; + case "albrandswaard": + case "albrandswaard.koophulpje.nl": return Albrandswaard; + case "stedebroec": + case "stedebroec.koophulpje.nl": return StedeBroec; + case "lansingerland": + case "lansingerland.koophulpje.nl": return Lansingerland; + case "waddinxveen": + case "lansingerland.koophulpje.nl": return Waddinxveen; + case "rijssen-holten": + case "rijssen-holten.koophulpje.nl": return RijssenHolten; + case "hoeksche-waard": + case "hoeksche-waard.koophulpje.nl": return HoekscheWaard; + case "texel": + case "lansingerland.koophulpje.nl": return Texel; default: From 9bf618179af2b040708f5508edbdcd730c187361 Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 18 Dec 2023 14:16:15 +0100 Subject: [PATCH 2/3] cleanup --- pwa/src/services/getConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwa/src/services/getConfig.ts b/pwa/src/services/getConfig.ts index 143be557..ee3cdf07 100644 --- a/pwa/src/services/getConfig.ts +++ b/pwa/src/services/getConfig.ts @@ -92,7 +92,7 @@ export const getConfig = (themeOrDomainName: string): Record | unde return Lansingerland; case "waddinxveen": - case "lansingerland.koophulpje.nl": + case "waddinxveen.koophulpje.nl": return Waddinxveen; case "rijssen-holten": @@ -104,7 +104,7 @@ export const getConfig = (themeOrDomainName: string): Record | unde return HoekscheWaard; case "texel": - case "lansingerland.koophulpje.nl": + case "texel.koophulpje.nl": return Texel; default: From d2bba7ef73c146cd97b4d1e75fd7e8324503d408 Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 18 Dec 2023 14:21:13 +0100 Subject: [PATCH 3/3] added openwoo.app domain names --- pwa/src/services/getConfig.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pwa/src/services/getConfig.ts b/pwa/src/services/getConfig.ts index ee3cdf07..bb871eb3 100644 --- a/pwa/src/services/getConfig.ts +++ b/pwa/src/services/getConfig.ts @@ -24,87 +24,106 @@ export const getConfig = (themeOrDomainName: string): Record | unde switch (themeOrDomainName) { case "open.epe.nl": case "epe.koophulpje.nl": + case "epe.openwoo.app": case "epe-theme": return Epe; case "open.noordwijk.nl": case "noordwijk.koophulpje.nl": + case "noordwijk.openwoo.app": case "noordwijk-theme": return Noordwijk; case "open.rotterdam.nl": case "rotterdam.koophulpje.nl": + case "rotterdam.openwoo.app": case "rotterdam-theme": return Rotterdam; case "open.noaberkracht.nl": case "noaberkracht.koophulpje.nl": + case "noaberkracht.openwoo.app": case "noaberkracht-theme": return Noaberkracht; case "open.tubbergen.nl": case "tubbergen.koophulpje.nl": + case "tubbergen.openwoo.app": case "tubbergen-theme": return Tubbergen; case "open.dinkelland.nl": case "dinkelland.koophulpje.nl": + case "dinkelland.openwoo.app": case "dinkelland-theme": return Dinkelland; case "open.xxllnc.nl": case "xxllnc.koophulpje.nl": + case "xxllnc.openwoo.app": case "xxllnc-theme": return Xxllnc; case "open.zutphen.nl": case "zutphen.koophulpje.nl": + case "zutphen.openwoo.app": case "zutphen-theme": return Zutphen; case "koophulpje.nl": case "open-webconcept-theme": + case "openwoo.app": // case "localhost": // development purposes return OpenWebconcept; case "barendrecht": case "barendrecht.koophulpje.nl": + case "barendrecht.openwoo.app": return Barendrecht; case "ridderkerk": case "ridderkerk.koophulpje.nl": + case "ridderkerk.openwoo.app": return Ridderkerk; case "buren": case "buren.koophulpje.nl": + case "buren.openwoo.app": return Buren; case "albrandswaard": case "albrandswaard.koophulpje.nl": + case "albrandswaard.openwoo.app": return Albrandswaard; case "stedebroec": case "stedebroec.koophulpje.nl": + case "stedebroec.openwoo.app": return StedeBroec; case "lansingerland": case "lansingerland.koophulpje.nl": + case "lansingerland.openwoo.app": return Lansingerland; case "waddinxveen": case "waddinxveen.koophulpje.nl": + case "waddinxveen.openwoo.app": return Waddinxveen; case "rijssen-holten": case "rijssen-holten.koophulpje.nl": + case "rijssen-holten.openwoo.app": return RijssenHolten; case "hoeksche-waard": case "hoeksche-waard.koophulpje.nl": + case "hoeksche-waard.openwoo.app": return HoekscheWaard; case "texel": case "texel.koophulpje.nl": + case "texel.openwoo.app": return Texel; default: