Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Possibility to switch between different environments #340

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fourhundredfour
Copy link

…ment url

To avoid a complicated setup, there is now a function to dynamically replace the fragment url by putting the area you want to replace in curly brackets.
This way you have a simple setup for different environments. So you get the possibility to switch the environment via the environment variable if necessary.

e.g.
production:
ZALANDO_HEADER_HOST: header.zalando.de

staging:
ZALANDO_HEADER_HOST: header.staging.zalando.de
I added the parser options and set them to ECMAScript2018, so that the spread operator is recognized by ESLint and green builds can be produced again.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant