forked from 77media/video-flow
换 接口服务
This commit is contained in:
parent
54e781d8d7
commit
5faa1c2655
@ -1,3 +0,0 @@
|
||||
{
|
||||
"template": "nextjs-shadcn"
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
components/ui/*
|
||||
hooks/use-toast.ts
|
||||
@ -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.
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
@ -80,13 +80,11 @@ export default function RootLayout({
|
||||
}}
|
||||
>
|
||||
<CallbackModalContext.Provider value={{ setShowCallbackModal }}>
|
||||
<Providers>
|
||||
{/* <ScreenAdapter /> */}
|
||||
<div id="app" className='h-full w-full'>
|
||||
{children}
|
||||
{showCallbackModal && <CallbackModal onClose={() => setShowCallbackModal(false)} />}
|
||||
</div>
|
||||
</Providers>
|
||||
</CallbackModalContext.Provider>
|
||||
</ConfigProvider>
|
||||
</body>
|
||||
|
||||
@ -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 [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user