generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 181
Config Options
Victor Hargrave edited this page Jan 31, 2025
·
3 revisions
In scripts.js
, there's a config object with a lot of options one can configure. This page should grow to describe what they all do:
Key | Possible Values | Default Value | What it does |
---|---|---|---|
languageMap | { africa: '', ar: 'es', at: 'de', etc. } | undefined | Adds a map for language based sites. This is useful for the region nav on a language based site for example, because it allows for /at (Austrian) links to get mapped to the language site /de (German). |
geoRouting | 'on', 'off' | 'off' | This turns georouting on or off. If you don't turn it on, the georouting modal will never appear |
fallbackRouting | 'on', 'off' | 'off' | This will prevent the georouting modal from showing if a targeted locale sibling is not available. |
faasCloseModalAfterSubmit | 'on', 'off' | undefined | Add behaviour to faas forms so that they show a green checkmark and close on the modal on a successful form submit for faas forms within modals. |
googleLoginURLCallback | async () => 'www.adobe.com' | undefined | This callback should return a string. When a user logs in over the google login on a site and you've defined this, the user will be redirected the callbackURL you've defined |