mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-26 04:57:08 -05:00
redirect test
This commit is contained in:
@@ -1,2 +1,16 @@
|
||||
const withImages = require("next-images");
|
||||
module.exports = withImages();
|
||||
module.exports = withImages({
|
||||
async rewrites() {
|
||||
return [
|
||||
// check if Next.js project routes match before we attempt proxying
|
||||
{
|
||||
source: "/:path*",
|
||||
destination: "/:path*",
|
||||
},
|
||||
{
|
||||
source: "/:path*",
|
||||
destination: `https://sendou-ink.herokuapp.com/:path*`,
|
||||
},
|
||||
];
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user