Merge pull request #636 from CedricFinance/patch-1
Redirect to / when basePath is empty
This commit is contained in:
commit
8cf4e90bb0
@ -29,7 +29,7 @@ self.addEventListener("fetch", (event) => {
|
||||
});
|
||||
})
|
||||
);
|
||||
return Response.redirect(basePath, 303);
|
||||
return Response.redirect(basePath || "/", 303);
|
||||
})()
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user