build: 更新构建配置文件

This commit is contained in:
jaystar
2026-01-22 10:03:04 +08:00
parent 6d72acc4ea
commit 61c8008bdb
2 changed files with 2 additions and 2 deletions

2
next-env.d.ts vendored
View File

@@ -1,6 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts"; import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -2,7 +2,7 @@ import type { NextConfig } from 'next';
import path from 'path'; import path from 'path';
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
outputFileTracingRoot: path.resolve(__dirname, '../../'), // outputFileTracingRoot: path.resolve(__dirname, '../../'),
/* config options here */ /* config options here */
allowedDevOrigins: ['*.dev.coze.site'], allowedDevOrigins: ['*.dev.coze.site'],
images: { images: {