Skip to content

Commit 7e3601b

Browse files
authored
fix: sources and status json (#91)
1 parent 3b757fc commit 7e3601b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

next.config.mjs

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ const nextConfig = {
44
rewrites: async () => {
55
return {
66
fallback: [
7+
{
8+
source: "/sources.json",
9+
destination: "/gh-pages/sources.json",
10+
},
11+
{
12+
source: "/status.json",
13+
destination: "/gh-pages/status.json",
14+
},
715
{
816
source: "/:path((?!.*\\.[a-zA-Z0-9]{1,4}$).*)", // Matches paths without a valid file extension
917
destination: "/transcript/:path*", // Rewrite to /transcripts/[path...]

0 commit comments

Comments
 (0)