Move packages/apps back
This commit is contained in:
parent
6eaaf8e9be
commit
5535d6b575
348 changed files with 0 additions and 0 deletions
23
apps/metamigo-frontend/next.config.js
Normal file
23
apps/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