This commit is contained in:
Xin Wang 2025-07-04 18:51:38 +08:00
parent 090e0d3f2c
commit 9fc578cfca

View File

@ -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*',