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:
Xin Wang
2026-06-08 22:39:45 +08:00
parent 42cab2a6ef
commit 7e8e8624b4
8 changed files with 293 additions and 251 deletions

View File

@@ -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;