diff --git a/.bolt/config.json b/.bolt/config.json deleted file mode 100644 index f236591..0000000 --- a/.bolt/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "template": "nextjs-shadcn" -} diff --git a/.bolt/ignore b/.bolt/ignore deleted file mode 100644 index bbe3a15..0000000 --- a/.bolt/ignore +++ /dev/null @@ -1,2 +0,0 @@ -components/ui/* -hooks/use-toast.ts diff --git a/.bolt/prompt b/.bolt/prompt deleted file mode 100644 index 88d020b..0000000 --- a/.bolt/prompt +++ /dev/null @@ -1,9 +0,0 @@ -For all designs I ask you to make, have them be beautiful, not cookie cutter. Make webpages that are fully featured and worthy for production. - -When using client-side hooks (useState and useEffect) in a component that's being treated as a Server Component by Next.js, always add the "use client" directive at the top of the file. - -Do not write code that will trigger this error: "Warning: Extra attributes from the server: %s%s""class,style" - -By default, this template supports JSX syntax with Tailwind CSS classes, the shadcn/ui library, React hooks, and Lucide React for icons. Do not install other packages for UI themes, icons, etc unless absolutely necessary or I request them. - -Use icons from lucide-react for logos. diff --git a/.env.development b/.env.development index 354fc4e..8d5e823 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,8 @@ -NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com -NEXT_PUBLIC_BASE_URL = http://77.smartvideo.py.qikongjian.com -# NEXT_PUBLIC_BASE_URL = https://pre.movieflow.api.huiying.video -NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com + +# NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com +# NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com +NEXT_PUBLIC_JAVA_URL = http://test.java.movieflow.ai +NEXT_PUBLIC_BASE_URL = http://test.video.movieflow.ai # 失败率 NEXT_PUBLIC_ERROR_CONFIG = 0.2 \ No newline at end of file diff --git a/.env.production b/.env.production index 95579b7..8816191 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ -NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com -# NEXT_PUBLIC_BASE_URL = https://pre.movieflow.api.huiying.video -NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com -NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com +# NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com +# NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com +NEXT_PUBLIC_JAVA_URL = http://test.java.movieflow.ai +NEXT_PUBLIC_BASE_URL = http://test.video.movieflow.ai # 失败率 NEXT_PUBLIC_ERROR_CONFIG = 0.2 diff --git a/app/layout.tsx b/app/layout.tsx index 1dd6e9c..471b0ea 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -80,13 +80,11 @@ export default function RootLayout({ }} > - - {/* */} -
- {children} - {showCallbackModal && setShowCallbackModal(false)} />} -
-
+ {/* */} +
+ {children} + {showCallbackModal && setShowCallbackModal(false)} />} +
diff --git a/next.config.js b/next.config.js index b0d8486..e581774 100644 --- a/next.config.js +++ b/next.config.js @@ -35,7 +35,7 @@ const nextConfig = { async rewrites() { // 使用环境变量,如果没有则使用默认值 - const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL || 'https://77.smartvideo.py.qikongjian.com' + const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL // const BASE_URL = 'http://192.168.120.5:8000' return [ {