diff --git a/bun.lockb b/bun.lockb index 3ec0b4a..190c999 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/next.config.js b/next.config.js index 8d7f01b..d82365b 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,39 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: "export", images: { unoptimized: true, }, + redirects: async () => { + return [ + { + source: "/", + destination: "https://keeper.farirpgs.com", + permanent: false, + }, + { + source: "/browse", + destination: "https://keeper.farirpgs.com", + permanent: false, + }, + { + source: "/creators/:creatorSlug", + destination: "https://keeper.farirpgs.com/creators/:creatorSlug", + permanent: false, + }, + { + source: "/creators/:creatorSlug/projects/:projectSlug", + destination: + "https://keeper.farirpgs.com/resources/:creatorSlug/:projectSlug", + permanent: false, + }, + { + source: "/creators/:creatorSlug/projects/:projectSlug/:pageSlug", + destination: + "https://keeper.farirpgs.com/resources/:creatorSlug/:projectSlug/:pageSlug", + permanent: false, + }, + ]; + }, }; module.exports = nextConfig;