Skip to content

Commit 5a9095b

Browse files
committed
fixup!
1 parent 709e244 commit 5a9095b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

components/Layout/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Footer from '../Footer';
2121
*/
2222
export default ({ metadata, headings, readingTime, children }) => (
2323
<>
24-
<Analytics />
24+
<Analytics basePath="/learn/_vercel" />
2525
<SpeedInsights />
2626
<NavBar />
2727
<Article>

vercel.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,11 @@
1818
"destination": "/learn/$1",
1919
"permanent": true
2020
}
21+
],
22+
"rewrites": [
23+
{
24+
"source": "/learn/_vercel/(.*)",
25+
"destination": "https://node-learn-pages.vercel.app/_vercel/$1"
26+
}
2127
]
2228
}

0 commit comments

Comments
 (0)