diff --git a/next.config.js b/next.config.js index e6f7abf..357c534 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,4 @@ -import { BASE_URL } from './api/constants'; +import { BASE_URL } from './api/constants.js'; /** @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*',