chore: add rewrite rules
This commit is contained in:
parent
19d8a59def
commit
b96e47746e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue