You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
@timberio/node is designed specifically for server-side/Node environments. It uses the Node.js API (such as the built-in streams package), so even if we were to change the User-Agent setting to satisfy the browser, there's no guarantee that other current or future changes would work in the browser.
I'd recommend having separate entry points for the server/browser - you can use the @timberio/js package to instantiate a Browser/Node variant as described here.
That should solve the User-Agent issue for you, but also guarantee that you're using the right version to match the environment.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Modern browsers will now reject custom headers being set for user-agent, can the user agent setting on browser/UMD be removed to prevent this error?
The text was updated successfully, but these errors were encountered: