mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
First rough version of proxy logs frontend
This commit is contained in:
10
admin/next.config.js
Normal file
10
admin/next.config.js
Normal file
@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: "/api/:path",
|
||||
destination: "http://localhost:8080/api/:path", // Matched parameters can be used in the destination
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user