Closed dman926 closed 2 years ago
Figured out what is happening. The some images 404 and fall through to the wildcard. Instead of using the fallthrough option in express.static
, I'll fetch the return the available coin images through the /payment/nowpayments/available-coins
route instead to avoid 404s
Describe the bug There's a bug with angular universal where certain image requests will load the wildcard route as well as serve the image. I don't really know why this happens, but removing the wildcard route fixes it.
To Reproduce Steps to reproduce the behavior:
app-routing.modue.ts
/shop/checkout
with at least 1 item in the cartExpected behavior The wildcard route should not load at all as
server.ts
has a route specifically for static files