Skip to content

Commit

Permalink
feat(ui): Redirect to sign-in for theme-builder index (#3684)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell authored Jul 10, 2024
1 parent 9a9f0a9 commit 3c42e55
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/clean-cobras-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
12 changes: 11 additions & 1 deletion packages/ui/theme-builder/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
async redirects() {
return [
{
source: '/',
destination: '/sign-in',
permanent: false,
},
];
},
};

export default nextConfig;

0 comments on commit 3c42e55

Please sign in to comment.