From de4f2c2d7f261d8f1e26f5c4ac294fa28d8e6834 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 23 Feb 2024 19:07:34 +0100 Subject: [PATCH] fix: route to ?helia-sw for all 404 paths Subdomain gateway won't have any path prefix, namespace and root identifier are in `Host` header. Closes #28 --- public/_redirects | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/_redirects b/public/_redirects index 5a3a60a0..3b2133ec 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1,2 +1 @@ -/ipns/* /?helia-sw=/ipns/:splat 302 -/ipfs/* /?helia-sw=/ipfs/:splat 302 +/* /?helia-sw=/:splat 302