ok, should i add export const runtime = "edge" in the top level of my routes in next API routes to m
ok, should i add export const runtime = "edge" in the top level of my routes in next API routes to make it run on the edge servers
next server
wrangler.toml so that wrangler doesn’t pick it up
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,
}