We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to use Axiom for a Vue project, but it crashes on on launch if i don't set the url option.
If I set it to the default value, it works.
const axiom = new Axiom({ token: 'XXX', orgId: 'XXX', url: 'https://api.axiom.co' })
process is not available in the browser. Thats why it fails on line 17 in httpClient.
process
const url = options.url || process.env.AXIOM_URL || AxiomURL;
Not sure how to solve this, thats why I am creating an issue instead of a PR.
The text was updated successfully, but these errors were encountered:
Hi @bobmoff, thanks for the issue! I'm faking process.env in #26 and thinking about how to better catch these issues in the future 🙌
process.env
Sorry, something went wrong.
Sweet, how often do you make releases?
All depending on if there's anything to release. There'll be one today 😎
@bobmoff Can you try again with 0.1.2?
Works! 🥳
Successfully merging a pull request may close this issue.
Trying to use Axiom for a Vue project, but it crashes on on launch if i don't set the url option.
If I set it to the default value, it works.
process
is not available in the browser. Thats why it fails on line 17 in httpClient.Not sure how to solve this, thats why I am creating an issue instead of a PR.
The text was updated successfully, but these errors were encountered: