Skip to content

Commit

Permalink
fix: Redirect recruitment
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Mar 10, 2024
1 parent 97f08ff commit c6a6727
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c6a6727

Please sign in to comment.