forked from jappel/leistungsbilanz-ts
First frontend
This commit is contained in:
parent
c3e98af5b6
commit
ac48e03404
16 changed files with 1764 additions and 5 deletions
20
next.config.mjs
Normal file
20
next.config.mjs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
typescript: {
|
||||
tsconfigPath: "./tsconfig.next.json",
|
||||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: "/api/:path*",
|
||||
destination: "http://localhost:3000/api/:path*",
|
||||
},
|
||||
{
|
||||
source: "/health",
|
||||
destination: "http://localhost:3000/health",
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Loading…
Add table
Add a link
Reference in a new issue