diff --git a/next.config.js b/next.config.js index e6f7abf..c2bfd48 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,4 @@ -import { BASE_URL } from './api/constants'; +const BASE_URL = 'https://movieflow.api.huiying.video' /** @type {import('next').NextConfig} */ const nextConfig = { eslint: { @@ -36,7 +36,7 @@ const nextConfig = { return [ { source: '/api/proxy/:path*', - destination: 'https://77.smartvideo.py.qikongjian.com/:path*', + destination: BASE_URL+'/:path*', }, { source: '/api/resources/:path*',