diff --git a/next.config.mjs b/next.config.mjs index bbc42a4..8e6ac58 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,20 +1,31 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - images: { - unoptimized: true, - remotePatterns: [{ - protocol: "https", - hostname: "armada-ais-files.s3.amazonaws.com", - port: "", - pathname: "**" - }, - { - protocol: "https", - hostname: "s3.amazonaws.com", - port: "", - pathname: "**" - }] - }, + images: { + unoptimized: true, + remotePatterns: [ + { + protocol: "https", + hostname: "armada-ais-files.s3.amazonaws.com", + port: "", + pathname: "**" + }, + { + protocol: "https", + hostname: "s3.amazonaws.com", + port: "", + pathname: "**" + } + ] + }, + redirects: async () => { + return [ + { + source: "/recruitment", + destination: "/student/recruitment", + permanent: true + } + ] + } } export default nextConfig