mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 12:24:46 +08:00
chore: add rewrite rules
This commit is contained in:
@@ -8,6 +8,13 @@
|
|||||||
import "./src/env.js";
|
import "./src/env.js";
|
||||||
|
|
||||||
/** @type {import("next").NextConfig} */
|
/** @type {import("next").NextConfig} */
|
||||||
const config = {};
|
const config = {
|
||||||
|
rewrites: async () => [
|
||||||
|
{
|
||||||
|
source: "/api/podcast/:path*",
|
||||||
|
destination: "http://localhost:8000/api/podcast/:path*",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|||||||
Reference in New Issue
Block a user