I have added an app proxy, which works fine on a stores home page
eg: https://test-store.myshopify.com
But when you navigate to a nested path or other pages it returns 404
eg: https://test-store.myshopify.com/products
I have added an app proxy, which works fine on a stores home page
eg: https://test-store.myshopify.com
But when you navigate to a nested path or other pages it returns 404
eg: https://test-store.myshopify.com/products
Solved it. this was because I was making the request with the root url so it was using the url of whatever page it was on. so I made the request including the origin and everything works fine regardless of the page I am on