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

Optional middleware #6

Merged

Conversation

SeraphimSerapis
Copy link
Contributor

Not all current versions of volkszaehler are still using middleware.php in their path. This PR introduces an optional parameter that allows to set a boolean flag if the URL should be either "{schema}://{host}:{port}/data/{uuid}.json (new) or {schema}://{host}:{port}/middleware.php/data/{uuid}.json (old).

Happy to receive any feedback you may have!

@bbr111
Copy link
Contributor

bbr111 commented Jan 28, 2021

looks good for me

Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

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

Thanks

@fabaff fabaff merged commit 4736d24 into home-assistant-ecosystem:master Mar 10, 2021
@SeraphimSerapis SeraphimSerapis deleted the optional-middleware branch March 10, 2021 22:19
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

3 participants