From 919325505a65ab7059de5195be2d7d5ac79ad278 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 10 Jul 2026 07:56:29 +0800 Subject: [PATCH] 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. --- frontend/next.config.ts | 5 ++++- scripts/.DS_Store | Bin 0 -> 6148 bytes 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 scripts/.DS_Store diff --git a/frontend/next.config.ts b/frontend/next.config.ts index 921d94f..60af71a 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -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: { diff --git a/scripts/.DS_Store b/scripts/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..18ce741eac4bbc2bebd1fe6bb7f62e0b3ef05665 GIT binary patch literal 6148 zcmeHKOHRWu5FM8;s=}g3T@)ci#J-i_1W{EMthoS9nnj>Zsx$?4mosnx4#5TC&DcWu zm9jzz%}Ac-IGN}1a~#J+WTxB2HPL{GdMJ$DK3t3OeJ%~_xE78x!jaOLHWX1pi^kL1 zpbDr0e@y{iyXQ2gEmmwy<@Fm;CaXEdYK~CL;Wy$ln$RO{?v`m7EYkoC_X1VlHmGAa(j{7*XScd+ioxO zTPefK26KY=96ddQdn}4%sD;vN3XO8)!M-JLdPm-6_Ok=*)lsxDPHT*#1B^U7Hvh0K z!w!G1%QJNPEnizkJjOCZzsArO!=ot2oJf`{D9LZw3iFoWt%zt>eV;_na@-KJ5@Svx zndu+DPo1pRKQ7fo0qogqy<>~&RRL8%75GwszYiV?qwlb=D4z~E-ctB}myr#1K1(oq z4t