Skip to content

Commit

Permalink
Serve JSON schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 committed Jan 29, 2025
1 parent ae0fa0f commit 9852701
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ const nextConfig = {
destination: "/catalog/assessments/:slug*",
permanent: true,
},
{
source: "/schemas/:slug*",
destination:
"https://raw.githubusercontent.com/PrairieLearn/PrairieLearn/master/apps/prairielearn/src/schemas/schemas/:slug*",
},
];
},
};
Expand Down

0 comments on commit 9852701

Please sign in to comment.