mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 10:37:30 -04:00
20 lines
313 B
JavaScript
20 lines
313 B
JavaScript
// @ts-check
|
|
|
|
/**
|
|
* @type {import('next').NextConfig}
|
|
**/
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
trailingSlash: true,
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/api/:path/",
|
|
destination: "http://localhost:8080/api/:path/",
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|