Middleware and iframe updates

This commit is contained in:
Darren Clarke 2023-03-01 11:02:15 +00:00
parent d7624d723f
commit ba04aa108c
29 changed files with 69 additions and 4128 deletions

View file

@ -13,18 +13,13 @@ module.exports = {
},
];
},
async rewrites() {
return {
beforeFiles: [
{
source: "/assets/:path*",
destination: `/zammad/assets/:path*`,
},
{
source: "/api/v1/:path*",
destination: `/zammad/api/v1/:path*`,
},
],
};
}, */
*/
rewrites: async () => ({
fallback: [
{
source: "/:path*",
destination: "/api/proxy/:path*",
},
],
}),
};