Merge branch 'main' into feat/api-keys
commit
f18bbacddc
|
@ -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/",
|
||||
},
|
||||
];
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue