Skip to content

Commit

Permalink
added acceptation config
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Apr 15, 2024
1 parent 7e2fb93 commit 707e0db
Showing 1 changed file with 31 additions and 21 deletions.
52 changes: 31 additions & 21 deletions pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,46 +26,53 @@ import { TGroupedSelectOption } from "@conduction/components/lib/components/form

export const getConfig = (themeOrDomainName: string): Record<string, any> | 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":
Expand All @@ -75,27 +82,30 @@ export const getConfig = (themeOrDomainName: string): Record<string, any> | 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;

Expand Down

0 comments on commit 707e0db

Please sign in to comment.