Files
Leon van Zyl ef406cdf86 add Vercel Blob storage hostname and bump version to 1.1.24
Changes:
- Add Vercel Blob storage hostname pattern (*.public.blob.vercel-storage.com)
  to Next.js image domains config for both main project and template
- Bump create-agentic-app version from 1.1.23 to 1.1.24
- Minor whitespace cleanup in storage.ts files

This allows images stored in Vercel Blob to be properly optimized
by Next.js Image component in production deployments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 16:15:48 +02:00

58 lines
1.2 KiB
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Image optimization configuration
images: {
remotePatterns: [
{
protocol: "https",
hostname: "lh3.googleusercontent.com",
},
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
},
{
protocol: "https",
hostname: "*.public.blob.vercel-storage.com",
},
],
},
// Enable compression
compress: true,
// Security headers
async headers() {
return [
{
source: "/(.*)",
headers: [
{
key: "X-Frame-Options",
value: "DENY",
},
{
key: "X-Content-Type-Options",
value: "nosniff",
},
{
key: "Referrer-Policy",
value: "strict-origin-when-cross-origin",
},
{
key: "X-XSS-Protection",
value: "1; mode=block",
},
{
key: "Permissions-Policy",
value: "camera=(), microphone=(), geolocation=()",
},
],
},
];
},
};
export default nextConfig;