another thing, where to define my bindings?
another thing, where to define my bindings?

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!


wrangler pages dev. If you are using next dev, then Bindings like KV will not be populated.wrangler.tomlconst 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,
}✘ [ERROR] Could not resolve "/opt/buildhome/repo/.vercel/output/static/_worker.js/index.js"wrangler pages dev