Skip to content

Commit afdbdcd

Browse files
fix: redirect using base
1 parent 7d37603 commit afdbdcd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/page.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
export const dynamic = "force-static";
22

33
export default function StaticRedirect() {
4-
return (
5-
<meta httpEquiv="refresh" content="0; url=/f/all" />
6-
);
4+
return (
5+
<>
6+
<base href="." />
7+
<meta httpEquiv="refresh" content="0; url=f/all" />
8+
</>
9+
);
710
}

0 commit comments

Comments
 (0)