diff --git a/next.config.ts b/next.config.ts index 1bb1c8e..63a2759 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,10 +2,28 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { images: { - domains: [ - 'storage.alexav.gg', - 'cdn.medal.tv', - 'lastfm.freetls.fastly.net' + remotePatterns: [ + { + protocol: 'https', + hostname: 'storage.alexav.gg', + port: '', + pathname: '/content/**', + search: '' + }, + { + protocol: 'https', + hostname: 'cdn.medal.tv', + port: '', + pathname: '/**', + search: '' + }, + { + protocol: 'https', + hostname: 'lastfm.freetls.fastly.net', + port: '', + pathname: '/**', + search: '' + } ] } };