forked from 77media/video-flow
提交
This commit is contained in:
parent
090e0d3f2c
commit
9fc578cfca
@ -1,4 +1,4 @@
|
|||||||
import { BASE_URL } from './api/constants';
|
import { BASE_URL } from './api/constants.js';
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
eslint: {
|
eslint: {
|
||||||
@ -36,7 +36,7 @@ const nextConfig = {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
source: '/api/proxy/:path*',
|
source: '/api/proxy/:path*',
|
||||||
destination: 'https://77.smartvideo.py.qikongjian.com/:path*',
|
destination: BASE_URL+'/:path*',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/api/resources/:path*',
|
source: '/api/resources/:path*',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user