Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 5 additions & 30 deletions apps/site/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,11 @@ const nextConfig = {
// We add it to the remote pattern for the static images we use from multiple sources
// to be marked as safe sources (these come from Markdown files)
remotePatterns: [
{
protocol: 'https',
hostname: 'avatars.githubusercontent.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'bestpractices.coreinfrastructure.org',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'raw.githubusercontent.com',
port: '',
pathname: '/nodejs/**',
},
{
protocol: 'https',
hostname: 'user-images.githubusercontent.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'website-assets.oramasearch.com',
port: '',
pathname: '/**',
},
new URL('https://avatars.githubusercontent.com/**'),
new URL('https://bestpractices.coreinfrastructure.org/**'),
new URL('https://raw.githubusercontent.com/nodejs/**'),
new URL('https://user-images.githubusercontent.com/**'),
new URL('https://website-assets.oramasearch.com/**'),
],
},
serverExternalPackages: ['twoslash'],
Expand Down
Loading