mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-18 11:55:54 +08:00
chore: add rewrite rules
This commit is contained in:
parent
19d8a59def
commit
b96e47746e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user