impress-2020/next.config.js
Matchu 7205455ccb Fix /api/outfitImage for Vercel
Sigh, okay, serverless functions limiting us again :p

Still, though, we are *much closer* to portability than our original CRA+Vercel stuff though!!
2021-11-02 01:40:20 -07:00

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,
},
];
},
};