Skip to content

Commit

Permalink
Update /addons rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegach committed Jun 22, 2024
1 parent 64885c5 commit b3690f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/addon-catalog/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: '/addons',
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
};

export default nextConfig;
2 changes: 1 addition & 1 deletion apps/frontpage/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"rewrites": [
{
"source": "/addons/:match*",
"destination": "https://storybook-blog.netlify.app/addons/:match*"
"destination": "https://web-addon-catalog.vercel.app/addons/:match*"
},
{
"source": "/blog/:match*",
Expand Down

0 comments on commit b3690f4

Please sign in to comment.