kv-tube/frontend/next.config.mjs
KV-Tube Deployer 95cfe06f2c
Some checks failed
CI / lint (push) Failing after 6s
CI / test (push) Failing after 1s
Docker Build & Push / build (push) Failing after 1s
CI / build (push) Has been skipped
chore: setup Dockerfiles and CI for Forgejo and Synology
2026-02-22 17:29:42 +07:00

26 lines
620 B
JavaScript
Executable file

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'i.ytimg.com',
},
],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://kv-tube-backend:8080/api/:path*',
},
{
source: '/video_proxy',
destination: 'http://kv-tube-backend:8080/video_proxy',
},
];
},
};
export default nextConfig;