mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-05 23:16:57 -06:00
Add remote image patterns for r2 image domains
This commit is contained in:
@@ -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 [
|
||||||
|
|||||||
Reference in New Issue
Block a user