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

feat: add custom user-agent to queries #777

Merged
merged 2 commits into from
May 3, 2024

Conversation

freak12techno
Copy link
Collaborator

Fixes #776.

Moved get() and post() of axios to helpers to set a custom User-Agent header.

@freak12techno
Copy link
Collaborator Author

@tombeynon can you review?

Copy link
Contributor

@tombeynon tombeynon left a comment

Choose a reason for hiding this comment

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

This is awesome, thanks so much for the clean solution. I'll give it a test and we can get it merged asap. One minor change to the header value

@tombeynon
Copy link
Contributor

This is working great - thanks so much @freak12techno. Merging

@tombeynon tombeynon merged commit 6152153 into eco-stake:master May 3, 2024
@freak12techno freak12techno deleted the add-custom-user-agent branch May 3, 2024 12:51
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.

Add custom User-Agent to app's axios calls
2 participants