30 lines
558 B
JavaScript
30 lines
558 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
images: {
|
|
domains: ["images.pexels.com"],
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/exercises',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/exercises/edit',
|
|
destination: '/exercises',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/workouts/edit',
|
|
destination: '/workouts',
|
|
permanent: true,
|
|
},
|
|
]
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|