pelagia-portal/App/next.config.ts
Hardik 2bdf3a6536
All checks were successful
PR checks / checks (pull_request) Successful in 43s
PR checks / integration (pull_request) Successful in 31s
chore: rename e2e folder to catalogue + drop /inventory redirects
- tests/e2e/inventory → tests/e2e/catalogue (folder name only; playwright globs
  ./tests/e2e so nothing else changes).
- remove the next.config redirects from /inventory/{items,vendors}: the old
  routes are intentionally left free for a future feature.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 05:06:44 +05:30

24 lines
474 B
TypeScript

import type { NextConfig } from "next";
const isDev = process.env.NODE_ENV === "development";
const nextConfig: NextConfig = {
experimental: {
serverActions: {
bodySizeLimit: "10mb",
},
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "*.r2.cloudflarestorage.com",
},
...(isDev
? [{ protocol: "http" as const, hostname: "localhost" }]
: []),
],
},
};
export default nextConfig;