2022-12-02 10:55:56 +00:00
|
|
|
module.exports = {
|
|
|
|
|
i18n: {
|
|
|
|
|
locales: ["en", "fr"],
|
|
|
|
|
defaultLocale: "en",
|
|
|
|
|
},
|
2022-12-14 13:24:50 +01:00
|
|
|
async redirects() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: "/zammad#ticket/zoom/:path*",
|
|
|
|
|
destination: "/ticket/:path*",
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2022-12-02 10:55:56 +00:00
|
|
|
rewrites: async () => ({
|
|
|
|
|
fallback: [
|
|
|
|
|
{
|
|
|
|
|
source: "/:path*",
|
|
|
|
|
destination: "/api/proxy/:path*",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}),
|
|
|
|
|
};
|