Merge branch 'main' into feat/api-keys

pull/2277/head
kodiakhq[bot] 2022-04-15 20:21:54 +00:00 committed by GitHub
commit f18bbacddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -3,4 +3,14 @@ const withNextra = require("nextra")({
themeConfig: "./theme.config.js",
unstable_staticImage: true,
});
module.exports = withNextra();
module.exports = withNextra({
async rewrites() {
return [
// This redirects requests recieved at / the root to the /api/ folder.
{
source: "/api",
destination: "https://developer.cal.com/",
},
];
},
});