shopstr
shopstr copied to clipboard
[BUG] Single product listings don't load when navigated to directly
Description
When I navigate to https://shopstr.store/marketplace/npub1s0veng2gvfwr62acrxhnqexq76sj6ldg3a5t935jy8e6w3shr5vsnwrmq5 and the click on one of the products, I see that product's listing page. But when I open a new tab and try to go to that same listing URL directly (https://shopstr.store/listing/naddr1qvzqqqrkcgpzpq7enxs5scju854msxd0xpjvpa4p94763rmgktrfyg0n5arpw8geqpqrgefsxv6rvvpsxu6k2dfe8y6rywpk8qmxvvfexejkxcejxymrjv34x5mrjerr8y6nzde58qurywf4vvukzenx8p3kxwpev9snyvfjvcps0swv) it doesn't load anything.
Current Behavior
Doesn't load!
Expected Behavior
Should load!
Steps to Reproduce
- Go to a marketplace
- Click on a product
- Copy the listing url
- Visit that url in another browser tab or browser (no listing!)
Environment
- Browser: Tested Chrome and Safari
Seems like a mismatch between the cache and relay fetching. A proper outbox implementation should be what resolves this.