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

BUGFIX: Use http request for generating usage urls #235

Merged
merged 2 commits into from Mar 28, 2024

Conversation

jannydiamond
Copy link

Addresses #234

What I did
The usage urls now do not include the port when it is not part of the actual domain.

How I did it
Changing the server request for generating usage urls from the server globals to the http request of the active request.

How to verify it
It is working in our local, staging and production setups. When deploying to an environment where neos is running in a docker container and the domain does not include the port, then it should work correctly.

Copy link
Member

@Sebobo Sebobo left a comment

Choose a reason for hiding this comment

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

Thx! Just needs one adjustment to be on the safe side.

Classes/Service/UsageDetailsService.php Outdated Show resolved Hide resolved
Copy link
Member

@Sebobo Sebobo left a comment

Choose a reason for hiding this comment

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

Looks good, will test and merge

@jannydiamond
Copy link
Author

Cool thx. 😊

@Sebobo Sebobo merged commit ba486c8 into Flowpack:main Mar 28, 2024
5 checks passed
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.

None yet

2 participants