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

it tries to load: url/[object Request] #301

Closed
bandinopla opened this issue Nov 7, 2024 · 1 comment
Closed

it tries to load: url/[object Request] #301

bandinopla opened this issue Nov 7, 2024 · 1 comment

Comments

@bandinopla
Copy link

bandinopla commented Nov 7, 2024

I have this code:

<Rive src="/logo.riv" stateMachines="State Machine 1" />

but when running the code, a request is made to: http://localhost:3001/[object%20Request]
? any idea why?

using "@rive-app/react-canvas": "^4.16.1",

@bandinopla
Copy link
Author

Omg I had a polifill modifying the global fetch and this was apparently breaking rive...

window.fetch = (url, config)=>{
    return fetchPolyfill(url, config)
 }

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