Skip to content

Add support for a Header differentiating proxied and non proxied Requests to UPWARD-PHP - #45

Open
Yoshiitsune wants to merge 2 commits into
magento:developfrom
Yoshiitsune:develop
Open

Add support for a Header differentiating proxied and non proxied Requests to UPWARD-PHP#45
Yoshiitsune wants to merge 2 commits into
magento:developfrom
Yoshiitsune:develop

Conversation

@Yoshiitsune

Copy link
Copy Markdown

Part of the solution to #44

If the new environment variable is not defined, the result is the same as previously.

Still requires the addition of said Header to https://github.com/magento/upward-php in the proxy request.

@yusufpangal

Copy link
Copy Markdown

hi

@@ -73,6 +86,13 @@ public function afterGetCodeByFrontName(
) ?? ''

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retrieving environment variable. Consider if this could be fetched once (e.g., in constructor) if method is frequently called.

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.

2 participants