I renamed it but still same error
I renamed it but still same error

next dev you can use_redirects file, but that changed nothing (no redirect). I have tried to put the file in my root-directory and of course (and initially) to my public directory.https://nicokempe.eu/* https://www.nicokempe.eu/:splat 301!


const redirects = async () => {
return [
{
source: '/:path*',
destination: 'https://www.nicokempe.eu/:path*',
permanent: true,
},
]
}
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
images: {
unoptimized: true
},
redirects,
}