Matchu
7205455ccb
Sigh, okay, serverless functions limiting us again :p Still, though, we are *much closer* to portability than our original CRA+Vercel stuff though!!
19 lines
354 B
JavaScript
19 lines
354 B
JavaScript
module.exports = {
|
|
env: {
|
|
PUBLIC_URL: "",
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/user/:userId/closet",
|
|
destination: "/user/:userId/lists",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/user/:userId/items",
|
|
destination: "/user/:userId/lists",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
};
|