Add all repos
This commit is contained in:
parent
faa12c60bc
commit
8a91c9b89b
369 changed files with 29047 additions and 28 deletions
23
metamigo-frontend/next.config.js
Normal file
23
metamigo-frontend/next.config.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
module.exports = {
|
||||
async redirects() {
|
||||
return [{ source: "/", destination: "/admin", permanent: true }];
|
||||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
/*
|
||||
{
|
||||
source: "/api/v1/:path*",
|
||||
destination: "http://localhost:3001/api/:path*",
|
||||
},
|
||||
*/
|
||||
{
|
||||
source: "/api/v1/:path*",
|
||||
destination: "/api/proxy/:path*",
|
||||
},
|
||||
{
|
||||
source: "/graphql",
|
||||
destination: "/api/graphql",
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue