Add remote image patterns for r2 image domains

This commit is contained in:
2024-12-26 16:14:03 -06:00
parent b8b6f3b228
commit 28ef681a24

View File

@@ -53,6 +53,22 @@ const v2_redirects = [
/** @type {import("next").NextConfig} */ /** @type {import("next").NextConfig} */
const config = { const config = {
reactStrictMode: true, reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'img.walters.to',
},
{
protocol: 'https',
hostname: 'img.xevion.dev',
},
{
protocol: 'https',
hostname: 'api.xevion.dev',
}
]
},
async redirects() { async redirects() {
// Source cannot end with / slash // Source cannot end with / slash
return [ return [