ham-reserve/next-app/next.config.js
Jakob Kordež eb29ab1b31 WIP
2023-09-13 16:25:30 +02:00

10 lines
232 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
rewrites: async () => [{
source: '/api/:path*',
destination: 'http://localhost:3001/:path*' // Proxy to Backend
}]
}
module.exports = nextConfig