Files
ai-video-fullstack/frontend/next.config.ts
Xin Wang 919325505a Update Next.js configuration to allow additional development origins and add .DS_Store file
- Extend the `allowedDevOrigins` in `next.config.ts` to include "118.89.89.89" for enhanced development flexibility.
- Add a new `.DS_Store` file in the `scripts` directory, which is a system file created by macOS for folder metadata.
2026-07-10 07:56:29 +08:00

17 lines
424 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
allowedDevOrigins: [
"127.0.0.1",
"118.89.89.89",
],
// 钉死项目根,避免容器内 bind-mount 时 Turbopack 把根推断成 /app/src/app。
// __dirname 即本配置所在目录(容器内 = /app,宿主机 = ai-video/frontend)。
turbopack: {
root: __dirname,
},
};
export default nextConfig;