mirror of
https://github.com/dstotijn/hetty
synced 2024-11-26 13:40:17 +00:00
19 lines
313 B
JavaScript
19 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;
|