mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-10-04 07:36:33 +08:00
31 lines
629 B
JavaScript
31 lines
629 B
JavaScript
/**
|
|
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
|
|
* for Docker builds.
|
|
*/
|
|
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import "./src/env.js";
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
rewrites: async () => [
|
|
{
|
|
source: "/api/podcast/:path*",
|
|
destination: "http://localhost:8000/api/podcast/:path*",
|
|
},
|
|
],
|
|
experimental: {
|
|
turbo: {
|
|
rules: {
|
|
"*.md": {
|
|
loaders: ["raw-loader"],
|
|
as: "*.js",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|