Enhance AI Video Assistant platform with new Makefile for development commands, update CORS origins for local access, and implement API client for credential management. Add seed data for model credentials and refactor ComponentsModelsPage to utilize API for dynamic data loading. Update Next.js configuration for Turbopack compatibility.
This commit is contained in:
@@ -3,6 +3,11 @@ import type { NextConfig } from "next";
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
allowedDevOrigins: ["127.0.0.1"],
|
||||
// 钉死项目根,避免容器内 bind-mount 时 Turbopack 把根推断成 /app/src/app。
|
||||
// __dirname 即本配置所在目录(容器内 = /app,宿主机 = ai-video/frontend)。
|
||||
turbopack: {
|
||||
root: __dirname,
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user