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

Ignore GET params for images from product list #86

Open
dszymczuk opened this issue Nov 6, 2024 · 2 comments
Open

Ignore GET params for images from product list #86

dszymczuk opened this issue Nov 6, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dszymczuk
Copy link

Hi.

I love dummy json in my project. Excellent job!

I want to delay only images instead of the whole rest, so the parameter ?delay=1000 doesn't work for me.

I found a solution called https://requestly.com/ but the add ?_rq_delayed=true into the URL.
So this link works:
https://cdn.dummyjson.com/products/images/mens-shirts/Man%20Plaid%20Shirt/2.png
But this link doesn't work:
https://cdn.dummyjson.com/products/images/mens-shirts/Man%20Plaid%20Shirt/2.png?_rq_delayed=true
I've got 404.

Is it possible to ignore all get params for images?

@Ovi
Copy link
Owner

Ovi commented Nov 13, 2024

Thanks, @dszymczuk! This behavior is unexpected, and I’ll work on fixing it as soon as possible.

@Ovi Ovi self-assigned this Nov 13, 2024
@Ovi Ovi added the bug Something isn't working label Nov 13, 2024
@dszymczuk
Copy link
Author

dszymczuk commented Nov 13, 2024

I thought I would try to prepare a fix, but it requires set up a database 😞
But thank you for fixing that. I appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants