hetty/admin/next.config.js

20 lines
313 B
JavaScript
Raw Normal View History

2022-01-28 20:20:15 +01:00
// @ts-check
2022-01-28 20:20:15 +01:00
/**
* @type {import('next').NextConfig}
**/
const nextConfig = {
reactStrictMode: true,
2020-09-23 23:43:20 +02:00
trailingSlash: true,
async rewrites() {
return [
{
source: "/api/:path/",
destination: "http://localhost:8080/api/:path/",
},
];
},
2022-01-28 20:20:15 +01:00
};
2022-01-28 20:20:15 +01:00
module.exports = nextConfig;