Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made Lengow environment-urls configurable #5

Closed
wants to merge 1 commit into from

Conversation

berwa
Copy link

@berwa berwa commented May 12, 2022

As we are not able to change our code depending on the target system (Magento production- or test-server) we can not use different Lengow-modules for the different Lengow-environments.
In this change we implemented a Magento configuration that allows the selection of the Lengow environment (Pre-Prod or Prod).
(Resolves #3)

@thedotwriter
Copy link

Thanks for working on this, I hope this PR won't get ignored. This is a feature that should have been included a long time ago.

@FredericMartinez
Copy link

PR still not merge, soooo, here a small repo with Plugins & Preference to handle environment via store configuration: https://github.com/PH2M/lengow-made-environment-urls-configurable

Enjoy.

@gthomas-lengow
Copy link
Contributor

in production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LENGOW_URL and LENGOW_API_URL constants
6 participants