chore: add rewrite rules

This commit is contained in:
Li Xin 2025-04-19 22:04:53 +08:00
parent 19d8a59def
commit b96e47746e

View File

@ -8,6 +8,13 @@
import "./src/env.js";
/** @type {import("next").NextConfig} */
const config = {};
const config = {
rewrites: async () => [
{
source: "/api/podcast/:path*",
destination: "http://localhost:8000/api/podcast/:path*",
},
],
};
export default config;