redirect api to swagger
parent
f229bb6513
commit
98b7765705
|
@ -3,4 +3,9 @@ const withNextra = require("nextra")({
|
|||
themeConfig: "./theme.config.js",
|
||||
unstable_staticImage: true,
|
||||
});
|
||||
module.exports = withNextra();
|
||||
|
||||
module.exports = withNextra({
|
||||
async rewrites() {
|
||||
return [{ basePath: false, source: "/api", destination: "https://swagger-beta.vercel.app" }];
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue