Compare commits

...

2 Commits

Author SHA1 Message Date
Agusti Fernandez Pardo b703d6498d use developer.cal.com for swagger docs 2022-04-15 16:02:52 +02:00
Agusti Fernandez Pardo 98b7765705 redirect api to swagger 2022-04-15 16:01:49 +02:00
1 changed files with 6 additions and 1 deletions

View File

@ -3,4 +3,9 @@ const withNextra = require("nextra")({
themeConfig: "./theme.config.js", themeConfig: "./theme.config.js",
unstable_staticImage: true, unstable_staticImage: true,
}); });
module.exports = withNextra();
module.exports = withNextra({
async rewrites() {
return [{ basePath: false, source: "/api", destination: "https://developer.cal.com" }];
},
});