This commit is contained in:
eric
2026-03-10 04:41:20 -05:00
parent 82e79110fc
commit 0093294472
31 changed files with 5541 additions and 73 deletions

15
next.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// 局域网访问(如手机 192.168.x.x时允许跨域请求 _next 资源
// 需完全重启 dev 服务Ctrl+C 后 pnpm dev后生效
allowedDevOrigins: [
"192.168.41.222",
"192.168.41.222:3000",
"http://192.168.41.222",
"http://192.168.41.222:3000",
"http://192.168.41.222:3001",
],
};
export default nextConfig;