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:
@@ -2,7 +2,10 @@ import type { NextConfig } from "next";
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
/* config options here */
|
/* config options here */
|
||||||
allowedDevOrigins: ["127.0.0.1"],
|
allowedDevOrigins: [
|
||||||
|
"127.0.0.1",
|
||||||
|
"118.89.89.89",
|
||||||
|
],
|
||||||
// 钉死项目根,避免容器内 bind-mount 时 Turbopack 把根推断成 /app/src/app。
|
// 钉死项目根,避免容器内 bind-mount 时 Turbopack 把根推断成 /app/src/app。
|
||||||
// __dirname 即本配置所在目录(容器内 = /app,宿主机 = ai-video/frontend)。
|
// __dirname 即本配置所在目录(容器内 = /app,宿主机 = ai-video/frontend)。
|
||||||
turbopack: {
|
turbopack: {
|
||||||
|
|||||||
BIN
scripts/.DS_Store
vendored
Normal file
BIN
scripts/.DS_Store
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user