Skip to content

Commit

Permalink
PROM-177: add file redirect, update link
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn O'Connor committed Jan 10, 2025
1 parent d518311 commit 3f00f15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/gen3/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"topBar": {
"items": [
{
"href": "/files/minimal_metadata_elements.pdf",
"href": "/MDD",
"name": "Minimal Metadata Elements"
},
{
Expand Down
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ const nextConfig = {
},
];
},
async redirects() {
return [
{
source: '/MDD',
destination: '/files/minimal_metadata_elements.pdf',
permanent: true,
},
]
},
};

module.exports = withMDX(nextConfig);

0 comments on commit 3f00f15

Please sign in to comment.