hp-prod-tracker/next.config.ts
DJP 60ec707814 Add /hp-prod-tracker basePath for path-based hosting
- Set basePath in next.config.ts for serving under /hp-prod-tracker
- Create apiUrl() helper to prepend basePath to fetch calls
- Update all 28 fetch("/api/...") calls across 16 files
- Add GCS storage migration plan doc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 21:47:30 -04:00

17 lines
355 B
TypeScript

import type { NextConfig } from "next";
const basePath = "/hp-prod-tracker";
const nextConfig: NextConfig = {
output: "standalone",
basePath,
env: {
NEXT_PUBLIC_BASE_PATH: basePath,
},
experimental: {
// Allow large video uploads (up to 500MB) through the proxy
proxyClientMaxBodySize: "500mb",
},
};
export default nextConfig;