mirror of https://github.com/tailscale/tailscale/
client/web: server /index.html on 404 requests
In production, the asset handler is receiving requests for pages like /details, which results in a 404. Instead, if we know the requested file does not exist, serve the main index page and let wouter route it appropriately on the frontend. Updates tailscale/corp/#14335 Signed-off-by: Will Norris <will@tailscale.com>pull/10298/head
parent
74947ce459
commit
fb984c2b71
Loading…
Reference in New Issue