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

Default user agent of axios #2238

Open
untitaker opened this issue Nov 26, 2024 · 0 comments
Open

Default user agent of axios #2238

untitaker opened this issue Nov 26, 2024 · 0 comments

Comments

@untitaker
Copy link

Any usage of new Mastodon(..) appears to use the axios user-agent instead of the megalodon user agent.

I believe that is because userAgent in this file is not actually ever passed to the axios API: https://github.com/h3poteto/megalodon/blob/master/megalodon/src/mastodon/api_client.ts

Disclaimer: I'm not a direct user of megalodon -- I'm trying to debug an application that uses it to see why it is getting blocked by my Mastodon instance, and when browsing through its and megalodon's codebase found this issue. I hope I understood the code right.

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

No branches or pull requests

1 participant