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.
This commit is contained in:
Xin Wang
2026-07-10 07:56:29 +08:00
parent 590cb33cbd
commit 919325505a
2 changed files with 4 additions and 1 deletions

View File

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

BIN
scripts/.DS_Store vendored Normal file

Binary file not shown.