Skip to content

Commit 2349db3

Browse files
authored
[polaris.shopify.com] Add redirect pointing to the license (#7312)
1 parent 5a1f45f commit 2349db3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/great-vans-nail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Added a redirect pointing to the Polaris license on Github

polaris.shopify.com/next.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ const nextConfig = {
6666
destination: '/tokens/colors',
6767
permanent: false,
6868
},
69+
{
70+
source: '/legal/license',
71+
destination: 'https://github.com/Shopify/polaris/blob/main/LICENSE.md',
72+
permanent: true,
73+
},
6974
];
7075
},
7176
};

0 commit comments

Comments
 (0)